[media] anysee: fix E30 Combo Plus TDA18212 DVB-T
authorAntti Palosaari <crope@iki.fi>
Tue, 12 Apr 2011 20:34:08 +0000 (17:34 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 20 May 2011 12:27:09 +0000 (09:27 -0300)
Use correct I2C address for ZL10353 DVB-T demod.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/anysee.c

index b0cac60d286fff47e9f5572e96703547d085d866..e55a2c0ea81a58d8a4006933d22217cd9d0cad99 100644 (file)
@@ -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 */