diff options
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/ir-kbd-i2c.c | 4 | ||||
-rw-r--r-- | drivers/media/video/tveeprom.c | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/drivers/media/video/ir-kbd-i2c.c b/drivers/media/video/ir-kbd-i2c.c index 95bacf435414..fe76379ccef7 100644 --- a/drivers/media/video/ir-kbd-i2c.c +++ b/drivers/media/video/ir-kbd-i2c.c | |||
@@ -400,6 +400,7 @@ static int ir_probe(struct i2c_adapter *adap) | |||
400 | */ | 400 | */ |
401 | 401 | ||
402 | static const int probe_bttv[] = { 0x1a, 0x18, 0x4b, 0x64, 0x30, -1}; | 402 | static const int probe_bttv[] = { 0x1a, 0x18, 0x4b, 0x64, 0x30, -1}; |
403 | static const int probe_cx2341x[] = { 0x18, 0x7a, -1}; | ||
403 | static const int probe_saa7134[] = { 0x7a, 0x47, -1 }; | 404 | static const int probe_saa7134[] = { 0x7a, 0x47, -1 }; |
404 | static const int probe_em28XX[] = { 0x30, 0x47, -1 }; | 405 | static const int probe_em28XX[] = { 0x30, 0x47, -1 }; |
405 | const int *probe = NULL; | 406 | const int *probe = NULL; |
@@ -411,6 +412,9 @@ static int ir_probe(struct i2c_adapter *adap) | |||
411 | case I2C_HW_B_BT848: | 412 | case I2C_HW_B_BT848: |
412 | probe = probe_bttv; | 413 | probe = probe_bttv; |
413 | break; | 414 | break; |
415 | case I2C_HW_B_CX2341X: | ||
416 | probe = probe_cx2341x; | ||
417 | break; | ||
414 | case I2C_HW_SAA7134: | 418 | case I2C_HW_SAA7134: |
415 | probe = probe_saa7134; | 419 | probe = probe_saa7134; |
416 | break; | 420 | break; |
diff --git a/drivers/media/video/tveeprom.c b/drivers/media/video/tveeprom.c index e0d2ff83fc91..431c3e2f6c42 100644 --- a/drivers/media/video/tveeprom.c +++ b/drivers/media/video/tveeprom.c | |||
@@ -757,9 +757,9 @@ tveeprom_detect_client(struct i2c_adapter *adapter, | |||
757 | static int | 757 | static int |
758 | tveeprom_attach_adapter (struct i2c_adapter *adapter) | 758 | tveeprom_attach_adapter (struct i2c_adapter *adapter) |
759 | { | 759 | { |
760 | if (adapter->id != I2C_HW_B_BT848) | 760 | if (adapter->class & I2C_CLASS_TV_ANALOG) |
761 | return 0; | 761 | return i2c_probe(adapter, &addr_data, tveeprom_detect_client); |
762 | return i2c_probe(adapter, &addr_data, tveeprom_detect_client); | 762 | return 0; |
763 | } | 763 | } |
764 | 764 | ||
765 | static int | 765 | static int |