]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] imon: Fix not working front panel
authorUlrich Eckhardt <uli-lirc@uli-eckhardt.de>
Sat, 26 Jul 2014 18:01:12 +0000 (15:01 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 21 Aug 2014 20:25:35 +0000 (15:25 -0500)
Make the front panel buttons working after another button on the
remote was pressed.

Signed-off-by: Ulrich Eckhardt <uli@uli-eckhardt.de>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/rc/imon.c

index c91e9709b47ed3bf4da84e78ad7944391e2bcd40..3d8f515be3c1c7274aae0f84cdaca6ec21e49ebe 100644 (file)
@@ -1610,6 +1610,7 @@ static void imon_incoming_packet(struct imon_context *ictx,
                scancode = be64_to_cpu(*((u64 *)buf));
                ktype = IMON_KEY_PANEL;
                kc = imon_panel_key_lookup(ictx, scancode);
+               ictx->release_code = false;
        } else {
                scancode = be32_to_cpu(*((u32 *)buf));
                if (ictx->rc_type == RC_BIT_RC6_MCE) {