From 1fd80701b5bd42fce36f4d32d5c5415354e68d98 Mon Sep 17 00:00:00 2001 From: Antti Palosaari Date: Tue, 12 Apr 2011 17:34:08 -0300 Subject: [PATCH] [media] anysee: fix E30 Combo Plus TDA18212 DVB-T Use correct I2C address for ZL10353 DVB-T demod. Signed-off-by: Antti Palosaari Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb/dvb-usb/anysee.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/media/dvb/dvb-usb/anysee.c b/drivers/media/dvb/dvb-usb/anysee.c index b0cac60d286f..e55a2c0ea81a 100644 --- a/drivers/media/dvb/dvb-usb/anysee.c +++ b/drivers/media/dvb/dvb-usb/anysee.c @@ -266,6 +266,14 @@ static struct zl10353_config anysee_zl10353_config = { .parallel_ts = 1, }; +static struct zl10353_config anysee_zl10353_tda18212_config2 = { + .demod_address = (0x1e >> 1), + .parallel_ts = 1, + .disable_i2c_gate_ctrl = 1, + .no_tuner = 1, + .if2 = 41500, +}; + static struct zl10353_config anysee_zl10353_tda18212_config = { .demod_address = (0x18 >> 1), .parallel_ts = 1, @@ -466,7 +474,7 @@ static int anysee_frontend_attach(struct dvb_usb_adapter *adap) if (tmp == 0xc7) { /* TDA18212 config */ adap->fe = dvb_attach(zl10353_attach, - &anysee_zl10353_tda18212_config, + &anysee_zl10353_tda18212_config2, &adap->dev->i2c_adap); } else { /* PLL config */