Skip to content

Commit d358aef

Browse files
Ulrich Eckhardtmchehab
authored andcommitted
[media] imon: fix other RC type protocol support
With kernel 3.17 the imon remote control for device 15c2:0034 does not work anymore, which uses the OTHER protocol. Only the front panel buttons which uses the RC6 protocol are working. Adds the missing comparison for the RC_BIT_OTHER. Cc: stable@vger.kernel.org # for Kernel 3.17 Signed-off-by: Ulrich Eckhardt <uli@uli-eckhardt.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
1 parent 4cdd32b commit d358aef

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎drivers/media/rc/imon.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1678,7 +1678,8 @@ static void imon_incoming_packet(struct imon_context *ictx,
16781678
if (press_type == 0)
16791679
rc_keyup(ictx->rdev);
16801680
else {
1681-
if (ictx->rc_type == RC_BIT_RC6_MCE)
1681+
if (ictx->rc_type == RC_BIT_RC6_MCE ||
1682+
ictx->rc_type == RC_BIT_OTHER)
16821683
rc_keydown(ictx->rdev,
16831684
ictx->rc_type == RC_BIT_RC6_MCE ? RC_TYPE_RC6_MCE : RC_TYPE_OTHER,
16841685
ictx->rc_scancode, ictx->rc_toggle);

0 commit comments

Comments
 (0)