summaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/imon.c
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2017-12-02 06:10:34 -0500
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-18 15:18:11 -0500
commit6a489f760ea1b789ebc01eed70e169ce58371360 (patch)
treeedac89914f3a31dfd0053eca24b110339c1c0ed1 /drivers/media/rc/imon.c
parentc3a3d1d6b8b363a02234e5564692db3647f183e6 (diff)
downloadlinux-stable-6a489f760ea1b789ebc01eed70e169ce58371360.tar.gz
linux-stable-6a489f760ea1b789ebc01eed70e169ce58371360.tar.bz2
linux-stable-6a489f760ea1b789ebc01eed70e169ce58371360.zip
media: imon: auto-config ffdc 26 device
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>
Diffstat (limited to 'drivers/media/rc/imon.c')
-rw-r--r--drivers/media/rc/imon.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/rc/imon.c b/drivers/media/rc/imon.c
index 2c26d917fe0f..6c873a3c4720 100644
--- a/drivers/media/rc/imon.c
+++ b/drivers/media/rc/imon.c
@@ -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;