summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7134/saa7134-i2c.c
diff options
context:
space:
mode:
authorBrian Rogers <brian_rogers@comcast.net>2008-10-13 13:37:06 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-13 13:57:34 +0200
commitba340b40a5f65261731583f67d7ec8cafbf5cfaa (patch)
treeb62243ecb18ccf1d38b60e5919e8ab7eeaa7d6f4 /drivers/media/video/saa7134/saa7134-i2c.c
parentV4L/DVB: v4l2-dev: remove duplicated #include (diff)
downloadlinux-ba340b40a5f65261731583f67d7ec8cafbf5cfaa.tar.xz
linux-ba340b40a5f65261731583f67d7ec8cafbf5cfaa.zip
V4L/DVB (9168): Add support for MSI TV@nywhere Plus remote
The IR controller has a couple quirks. It won't respond until some other device on the bus is probed. To work around that, probe 0x50 first. Then, since it won't respond to a zero-byte read, probe with a one-byte read. Signed-off-by: Brian Rogers <brian_rogers@comcast.net> [mchehab.redhat.com: Fix merge conflicts and remove an unused var] Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-i2c.c')
-rw-r--r--drivers/media/video/saa7134/saa7134-i2c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134-i2c.c b/drivers/media/video/saa7134/saa7134-i2c.c
index b02965c52476..20c1b33caf7b 100644
--- a/drivers/media/video/saa7134/saa7134-i2c.c
+++ b/drivers/media/video/saa7134/saa7134-i2c.c
@@ -337,6 +337,7 @@ static int attach_inform(struct i2c_client *client)
case 0x47:
case 0x71:
case 0x2d:
+ case 0x30:
{
struct IR_i2c *ir = i2c_get_clientdata(client);
d1printk("%s i2c IR detected (%s).\n",