aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/media/dvb-frontends/cxd2820r_c.c
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2019-08-31 05:37:39 -0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-10-07 07:42:43 -0300
commit6f5129e251aeec71f8928ae0668d508454fa8aff (patch)
tree242c4387ca17398ca4a6b172895f5c6372c4a705 /drivers/media/dvb-frontends/cxd2820r_c.c
parentmedia: rtl28xxu: set keymap for Astrometa DVB-T2 (diff)
downloadwireguard-linux-6f5129e251aeec71f8928ae0668d508454fa8aff.tar.xz
wireguard-linux-6f5129e251aeec71f8928ae0668d508454fa8aff.zip
media: rtl28xxu: fix idle handling
Currently the IR receiver is put into idle mode after each interrupt. However longer IR like NEC can be distributed over multiple interrupts, so putting the IR into idle in the middle of such a message will break decoding. Every IR message has a trailing space of 0xbf (one less than IR_IDE_LEN{0,1} which is programmed to 0xc0). So, set the timeout to that value and rc-core will put the IR receiver into idle mode automatically. Thanks to Jan Pieter van Woerkom <jp@jpvw.nl> for providing the hardware. Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/dvb-frontends/cxd2820r_c.c')
0 files changed, 0 insertions, 0 deletions