lkml.org 
[lkml]   [2014]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3.17 119/319] media: imon: fix other RC type protocol support
    Date
    3.17-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Ulrich Eckhardt <uli-lirc@uli-eckhardt.de>

    commit d358aefdc0cc92b16ced449f998dbad639db6809 upstream.

    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.

    Signed-off-by: Ulrich Eckhardt <uli@uli-eckhardt.de>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    drivers/media/rc/imon.c | 3 ++-
    1 file changed, 2 insertions(+), 1 deletion(-)

    --- a/drivers/media/rc/imon.c
    +++ b/drivers/media/rc/imon.c
    @@ -1579,7 +1579,8 @@ static void imon_incoming_packet(struct
    if (press_type == 0)
    rc_keyup(ictx->rdev);
    else {
    - if (ictx->rc_type == RC_BIT_RC6_MCE)
    + if (ictx->rc_type == RC_BIT_RC6_MCE ||
    + ictx->rc_type == RC_BIT_OTHER)
    rc_keydown(ictx->rdev,
    ictx->rc_type == RC_BIT_RC6_MCE ? RC_TYPE_RC6_MCE : RC_TYPE_OTHER,
    ictx->rc_scancode, ictx->rc_toggle);



    \
     
     \ /
      Last update: 2014-11-12 05:41    [W:5.424 / U:0.632 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site