Re: [PATCH 02/12] dvbsky: use si2168 config option ts_clock_gapped

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Olli,
in saa716x_budget.c I've also got (for TBS6285)

    si2168_config.i2c_adapter = &i2cadapter;
    si2168_config.fe = &adapter->fe;
    si2168_config.ts_mode = SI2168_TS_SERIAL;
    memset(&info, 0, sizeof(struct i2c_board_info));

Should I just add it like this?

    si2168_config.ts_mode = SI2168_TS_SERIAL;
    si2168_config.ts_clock_gapped = true;
    memset(&info, 0, sizeof(struct i2c_board_info));

Kind regards,
Tycho.

Op 23-04-15 om 23:11 schreef Olli Salonen:
Change the dvbsky driver to support gapped clock instead of the current
hack.

Signed-off-by: Olli Salonen <olli.salonen@xxxxxx>
---
  drivers/media/usb/dvb-usb-v2/dvbsky.c | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/media/usb/dvb-usb-v2/dvbsky.c b/drivers/media/usb/dvb-usb-v2/dvbsky.c
index cdf59bc..0f73b1d 100644
--- a/drivers/media/usb/dvb-usb-v2/dvbsky.c
+++ b/drivers/media/usb/dvb-usb-v2/dvbsky.c
@@ -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;

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux