diff options
| author | David Härdeman <david@hardeman.nu> | 2017-06-22 22:23:54 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-08-20 16:34:39 +0300 |
| commit | 265a2988d202b3aba0bbbb4d828c66d3741d59db (patch) | |
| tree | fd709730afc881d79b463dbb6119a38bdb24a225 /include/linux/pps_kernel.h | |
| parent | ab45e85851829ebb4e233ba5e401affa4128a352 (diff) | |
| download | linux-265a2988d202b3aba0bbbb4d828c66d3741d59db.tar.xz | |
media: rc-core: consistent use of rc_repeat()
The NEC decoder and the Sanyo decoders check if dev->keypressed is true
before calling rc_repeat (without holding dev->keylock).
Meanwhile, the XMP and JVC decoders do no such checks.
This patch makes sure all users of rc_repeat() do so consistently by
removing extra checks in NEC/Sanyo and modifying the check a bit in
rc_repeat() so that no input event is generated if the key isn't pressed.
Signed-off-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/linux/pps_kernel.h')
0 files changed, 0 insertions, 0 deletions
