linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ulrich Eckhardt <uli-lirc@uli-eckhardt.de>
To: Mauro Carvalho Chehab <m.chehab@samsung.com>
Cc: jarod@wilsonet.com, linux-media@vger.kernel.org
Subject: Re: [PATCH 3/3] [media] imon: Fix not working front panel.
Date: Sat, 26 Jul 2014 20:01:12 +0200	[thread overview]
Message-ID: <53D3ECE8.7090006@uli-eckhardt.de> (raw)
In-Reply-To: <53D3E991.9040006@uli-eckhardt.de>

Make the front panel buttons working after another button on the 
remote was pressed.

Signed-off-by: Ulrich Eckhardt <uli@uli-eckhardt.de>

diff --git a/drivers/media/rc/imon.c b/drivers/media/rc/imon.c
index c64acbf..3b392f7 100644
--- a/drivers/media/rc/imon.c
+++ b/drivers/media/rc/imon.c
@@ -1609,6 +1609,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) {


-- 
Ulrich Eckhardt                  http://www.uli-eckhardt.de

Ein Blitzableiter auf dem Kirchturm ist das denkbar stärkste 
Misstrauensvotum gegen den lieben Gott. (Karl Krauss)

      parent reply	other threads:[~2014-07-26 18:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-15 16:02 [PATCH] [media] imon: Fix internal key table for 15c2:0034 Ulrich Eckhardt
2014-07-23 20:55 ` Mauro Carvalho Chehab
2014-07-26  9:40   ` Ulrich Eckhardt
2014-07-26 17:46   ` [PATCH 0/3] " Ulrich Eckhardt
2014-07-26 17:56     ` [PATCH 1/3] [media] imon: Define keytables per USB Device Id Ulrich Eckhardt
2014-07-26 17:59     ` [PATCH 2/3] [media] imon: Add internal key table for 15c2:0034 Ulrich Eckhardt
2014-07-26 18:01     ` Ulrich Eckhardt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53D3ECE8.7090006@uli-eckhardt.de \
    --to=uli-lirc@uli-eckhardt.de \
    --cc=jarod@wilsonet.com \
    --cc=linux-media@vger.kernel.org \
    --cc=m.chehab@samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).