Commit d4dc673d authored by Christopher Pascoe's avatar Christopher Pascoe Committed by Mauro Carvalho Chehab

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: default avatarJohn Knops <jknops@australiaonline.net.au>
Reviewed-by: default avatarSteven Toth <stoth@linuxtv.org>
Signed-off-by: default avatarChristopher Pascoe <linuxdvb@itee.uq.edu.au>
Signed-off-by: default avatarDevin Heitmueller <dheitmueller@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent e39c9047
...@@ -441,9 +441,9 @@ int cx23885_tuner_callback(void *priv, int component, int command, int arg) ...@@ -441,9 +441,9 @@ int cx23885_tuner_callback(void *priv, int component, int command, int arg)
case CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP: case CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP:
/* Two identical tuners on two different i2c buses, /* Two identical tuners on two different i2c buses,
* we need to reset the correct gpio. */ * we need to reset the correct gpio. */
if (port->nr == 0) if (port->nr == 1)
bitmask = 0x01; bitmask = 0x01;
else if (port->nr == 1) else if (port->nr == 2)
bitmask = 0x04; bitmask = 0x04;
break; break;
} }
......
...@@ -314,6 +314,7 @@ static struct zl10353_config dvico_fusionhdtv_xc3028 = { ...@@ -314,6 +314,7 @@ static struct zl10353_config dvico_fusionhdtv_xc3028 = {
.demod_address = 0x0f, .demod_address = 0x0f,
.if2 = 45600, .if2 = 45600,
.no_tuner = 1, .no_tuner = 1,
.disable_i2c_gate_ctrl = 1,
}; };
static struct stv0900_config netup_stv0900_config = { static struct stv0900_config netup_stv0900_config = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment