media: imon: auto-config ffdc 26 device
authorSean Young <sean@mess.org>
Sat, 2 Dec 2017 11:10:34 +0000 (06:10 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 18 Dec 2017 20:18:11 +0000 (15:18 -0500)
Another device with the 0xffdc device id, this one with 0x26 in the
config byte. Its an iMON Inside + iMON IR. It does respond to rc-6,
but seems to produce random garbage rather than a scancode.

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/imon.c

index 2c26d917fe0fe9b286ea6e30a7ec93285cbbfacc..6c873a3c47206b4067902dda90a449dc030b2c83 100644 (file)
@@ -1975,6 +1975,11 @@ static void imon_get_ffdc_type(struct imon_context *ictx)
                detected_display_type = IMON_DISPLAY_TYPE_LCD;
                allowed_protos = RC_PROTO_BIT_RC6_MCE;
                break;
+       /* no display, iMON IR */
+       case 0x26:
+               dev_info(ictx->dev, "0xffdc iMON Inside, iMON IR");
+               ictx->display_supported = false;
+               break;
        default:
                dev_info(ictx->dev, "Unknown 0xffdc device, defaulting to VFD and iMON IR");
                detected_display_type = IMON_DISPLAY_TYPE_VFD;