]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
[media] dvbsky: use si2168 config option ts_clock_gapped
authorOlli Salonen <olli.salonen@iki.fi>
Tue, 5 May 2015 16:54:15 +0000 (13:54 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 12 May 2015 16:17:19 +0000 (13:17 -0300)
Change the dvbsky driver to support gapped clock instead of the current
hack.

Signed-off-by: Olli Salonen <olli.salonen@iki.fi>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/dvb-usb-v2/dvbsky.c

index cdf59bcd760c4576bf5fe086aecf495e6694405f..0f73b1d23d56d4f3540549669f8b31abb6ee420a 100644 (file)
@@ -615,7 +615,8 @@ static int dvbsky_t330_attach(struct dvb_usb_adapter *adap)
        memset(&si2168_config, 0, sizeof(si2168_config));
        si2168_config.i2c_adapter = &i2c_adapter;
        si2168_config.fe = &adap->fe[0];
-       si2168_config.ts_mode = SI2168_TS_PARALLEL | 0x40;
+       si2168_config.ts_mode = SI2168_TS_PARALLEL;
+       si2168_config.ts_clock_gapped = true;
        memset(&info, 0, sizeof(struct i2c_board_info));
        strlcpy(info.type, "si2168", I2C_NAME_SIZE);
        info.addr = 0x64;