diff options
| author | Christopher Pascoe <linuxdvb@itee.uq.edu.au> | 2009-04-27 10:27:04 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-04-29 15:00:38 -0400 |
| commit | d4dc673da9a94716ca2410306c1b36b5faf6c4cc (patch) | |
| tree | 51b214a62ea7c9ffae0e5ea0d1b2cef4ff9509a7 | |
| parent | e39c9047975f4302354c16c33eecfe59946d3fc4 (diff) | |
V4L/DVB (11626): cx23885: Two fixes for DViCO FusionHDTV DVB-T Dual Express
Two fixes for DViCO FusionHDTV DVB-T Dual Express:
* Reset correct tuner when reinitializing xc3028.
* Disable the I2C gate control to avoid locking up the I2C bus.
Tested-by: John Knops <jknops@australiaonline.net.au>
Reviewed-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Christopher Pascoe <linuxdvb@itee.uq.edu.au>
Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
| -rw-r--r-- | drivers/media/video/cx23885/cx23885-cards.c | 4 | ||||
| -rw-r--r-- | drivers/media/video/cx23885/cx23885-dvb.c | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/video/cx23885/cx23885-cards.c b/drivers/media/video/cx23885/cx23885-cards.c index a3c0565be1a9..6d6293f7d428 100644 --- a/drivers/media/video/cx23885/cx23885-cards.c +++ b/drivers/media/video/cx23885/cx23885-cards.c | |||
| @@ -441,9 +441,9 @@ int cx23885_tuner_callback(void *priv, int component, int command, int arg) | |||
| 441 | case CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP: | 441 | case CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP: |
| 442 | /* Two identical tuners on two different i2c buses, | 442 | /* Two identical tuners on two different i2c buses, |
| 443 | * we need to reset the correct gpio. */ | 443 | * we need to reset the correct gpio. */ |
| 444 | if (port->nr == 0) | 444 | if (port->nr == 1) |
| 445 | bitmask = 0x01; | 445 | bitmask = 0x01; |
| 446 | else if (port->nr == 1) | 446 | else if (port->nr == 2) |
| 447 | bitmask = 0x04; | 447 | bitmask = 0x04; |
| 448 | break; | 448 | break; |
| 449 | } | 449 | } |
diff --git a/drivers/media/video/cx23885/cx23885-dvb.c b/drivers/media/video/cx23885/cx23885-dvb.c index f48454ab3900..0c49a98213c4 100644 --- a/drivers/media/video/cx23885/cx23885-dvb.c +++ b/drivers/media/video/cx23885/cx23885-dvb.c | |||
| @@ -314,6 +314,7 @@ static struct zl10353_config dvico_fusionhdtv_xc3028 = { | |||
| 314 | .demod_address = 0x0f, | 314 | .demod_address = 0x0f, |
| 315 | .if2 = 45600, | 315 | .if2 = 45600, |
| 316 | .no_tuner = 1, | 316 | .no_tuner = 1, |
| 317 | .disable_i2c_gate_ctrl = 1, | ||
| 317 | }; | 318 | }; |
| 318 | 319 | ||
| 319 | static struct stv0900_config netup_stv0900_config = { | 320 | static struct stv0900_config netup_stv0900_config = { |
