diff options
author | Jonathan McDowell <noodles@earth.li> | 2016-05-14 20:01:26 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-09 17:47:28 +0300 |
commit | bbdb34c90aeb8b2253eae88029788ebe1d7f2fd4 (patch) | |
tree | f7cad9804a8e1cad6944802221c6065df0382a62 /include/media/rc-map.h | |
parent | ca6e6126db5494f18c6c6615060d4d803b528bff (diff) | |
download | linux-bbdb34c90aeb8b2253eae88029788ebe1d7f2fd4.tar.xz |
[media] Fix RC5 decoding with Fintek CIR chipset
Fix RC5 decoding with Fintek CIR chipset
Commit e87b540be2dd02552fb9244d50ae8b4e4619a34b tightened up the RC5
decoding by adding a check for trailing silence to ensure a valid RC5
command had been received. Unfortunately the trailer length checked was
10 units and the Fintek CIR device does not want to provide details of a
space longer than 6350us. This meant that RC5 remotes working on a
Fintek setup on 3.16 failed on 3.17 and later. Fix this by shortening
the trailer check to 6 units (allowing for a previous space in the
received remote command).
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=117221
Signed-off-by: Jonathan McDowell <noodles@earth.li>
Cc: stable@vger.kernel.org
Signed-off-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/media/rc-map.h')
0 files changed, 0 insertions, 0 deletions