These two patches are a reworked version of these two patches: http://www.mail-archive.com/linux-media@xxxxxxxxxxxxxxx/msg112170.html http://www.mail-archive.com/linux-media@xxxxxxxxxxxxxxx/msg112163.html The first patch changes the NEC and Sanyo decoders as discussed in those threads, moving the keydown check into rc_repeat() where the proper locking is done. The second patch I'd consider optional, it removes the input events for repeat messages which I consider to be rather pointless. --- David Härdeman (2): rc-core: consistent use of rc_repeat() rc-main: remove input events for repeat messages drivers/media/rc/ir-nec-decoder.c | 10 +++------- drivers/media/rc/ir-sanyo-decoder.c | 10 +++------- drivers/media/rc/rc-main.c | 13 ++++--------- 3 files changed, 10 insertions(+), 23 deletions(-) -- David Härdeman