]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
media: rc: nec decoder should not send both repeat and keycode
authorSean Young <sean@mess.org>
Sun, 1 Oct 2017 20:38:29 +0000 (16:38 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 11 Oct 2017 16:37:53 +0000 (12:37 -0400)
commit829bbf268894d0866bb9dd2b1e430cfa5c5f0779
tree66ece0a357db1f9ecffb40fc82a807e758f628d2
parent2265425fd9c512cc9977516b5fe78d03ad9311a7
media: rc: nec decoder should not send both repeat and keycode

When receiving an nec repeat, rc_repeat() is called and then rc_keydown()
with the last decoded scancode. That last call is redundant.

Fixes: 265a2988d202 ("media: rc-core: consistent use of rc_repeat()")
Cc: <stable@vger.kernel.org> # v4.14
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/ir-nec-decoder.c