diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-12-25 23:18:25 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-12-25 23:18:25 -0500 |
commit | c2f68ad3b59d7015bf6fb0037ee0b5f2331aed28 (patch) | |
tree | 27ba17750761072a649204ae43c7965f7b08e3d7 | |
parent | 00684418707c7a1e36ebdedc4b30fbba5d5860b1 (diff) | |
parent | c3c4c839336767da2d0c18e8e9bab33bef64ef8d (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb
* git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb:
V4L/DVB (6876): ivtv: mspx4xx needs a longer i2c udelay
V4L/DVB (6871): Kconfig: VIDEO_CX23885 must select DVB_LGDT330X
-rw-r--r-- | drivers/media/video/cx23885/Kconfig | 1 | ||||
-rw-r--r-- | drivers/media/video/ivtv/ivtv-i2c.c | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/cx23885/Kconfig b/drivers/media/video/cx23885/Kconfig index d8b1ccb44913..081ee6e1536f 100644 --- a/drivers/media/video/cx23885/Kconfig +++ b/drivers/media/video/cx23885/Kconfig | |||
@@ -10,6 +10,7 @@ config VIDEO_CX23885 | |||
10 | select VIDEOBUF_DVB | 10 | select VIDEOBUF_DVB |
11 | select DVB_TUNER_MT2131 if !DVB_FE_CUSTOMISE | 11 | select DVB_TUNER_MT2131 if !DVB_FE_CUSTOMISE |
12 | select DVB_S5H1409 if !DVB_FE_CUSTOMISE | 12 | select DVB_S5H1409 if !DVB_FE_CUSTOMISE |
13 | select DVB_LGDT330X if !DVB_FE_CUSTOMISE | ||
13 | select DVB_PLL if !DVB_FE_CUSTOMISE | 14 | select DVB_PLL if !DVB_FE_CUSTOMISE |
14 | ---help--- | 15 | ---help--- |
15 | This is a video4linux driver for Conexant 23885 based | 16 | This is a video4linux driver for Conexant 23885 based |
diff --git a/drivers/media/video/ivtv/ivtv-i2c.c b/drivers/media/video/ivtv/ivtv-i2c.c index 77b27dc750b1..44678fe27a04 100644 --- a/drivers/media/video/ivtv/ivtv-i2c.c +++ b/drivers/media/video/ivtv/ivtv-i2c.c | |||
@@ -718,6 +718,9 @@ int init_ivtv_i2c(struct ivtv *itv) | |||
718 | sizeof(struct i2c_adapter)); | 718 | sizeof(struct i2c_adapter)); |
719 | memcpy(&itv->i2c_algo, &ivtv_i2c_algo_template, | 719 | memcpy(&itv->i2c_algo, &ivtv_i2c_algo_template, |
720 | sizeof(struct i2c_algo_bit_data)); | 720 | sizeof(struct i2c_algo_bit_data)); |
721 | /* The mspx4xx chips need a longer delay for some reason */ | ||
722 | if (itv->hw_flags & IVTV_HW_MSP34XX) | ||
723 | itv->i2c_algo.udelay = 10; | ||
721 | itv->i2c_algo.data = itv; | 724 | itv->i2c_algo.data = itv; |
722 | itv->i2c_adap.algo_data = &itv->i2c_algo; | 725 | itv->i2c_adap.algo_data = &itv->i2c_algo; |
723 | } | 726 | } |