aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/ivtv/ivtv-driver.c
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2009-11-21 14:19:27 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-05 15:41:57 -0500
commit7ce5c41db3672c8b4419b16d9b3ac1ccf11a1445 (patch)
tree779bbbfba98ebea95b43f5e96bfb2458730e1ed8 /drivers/media/video/ivtv/ivtv-driver.c
parent8352619043a04785b8d20e438629b14e556fffce (diff)
V4L/DVB (13446): ivtv: Add more explicit detection of known IR devices for Hauppauge cards
Avoid legacy IR I2C probing for PVR-150, PVR-500, and PVR-350 cards. This still probes, but restricts the possbile addresses probed per card. Also removed legacy probe addresses for the KNC and PixelView cards which are not supported by ivtv as far as I know. Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-driver.c')
-rw-r--r--drivers/media/video/ivtv/ivtv-driver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/ivtv/ivtv-driver.c b/drivers/media/video/ivtv/ivtv-driver.c
index d14f94e254bb..347c3344f56d 100644
--- a/drivers/media/video/ivtv/ivtv-driver.c
+++ b/drivers/media/video/ivtv/ivtv-driver.c
@@ -885,7 +885,8 @@ static void ivtv_load_and_init_modules(struct ivtv *itv)
885 } 885 }
886 886
887 /* probe for legacy IR controllers that aren't in card definitions */ 887 /* probe for legacy IR controllers that aren't in card definitions */
888 ivtv_i2c_new_ir_legacy(itv); 888 if ((itv->hw_flags & IVTV_HW_IR_ANY) == 0)
889 ivtv_i2c_new_ir_legacy(itv);
889 890
890 if (itv->card->hw_all & IVTV_HW_CX25840) 891 if (itv->card->hw_all & IVTV_HW_CX25840)
891 itv->sd_video = ivtv_find_hw(itv, IVTV_HW_CX25840); 892 itv->sd_video = ivtv_find_hw(itv, IVTV_HW_CX25840);