summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c
diff options
context:
space:
mode:
authorAndrew de Quincy <devnull@localhost>2004-11-20 15:23:34 +0000
committerAndrew de Quincy <devnull@localhost>2004-11-20 15:23:34 +0000
commit6aaa3c9b588cb65eba7bb68b476a36c7f4478349 (patch)
treeff4015a4794e6868d89db770595d15c654a02579 /linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c
parent783ec6850117d92bbe63bb8b0497b83e73faa562 (diff)
downloadmediapointer-dvb-s2-6aaa3c9b588cb65eba7bb68b476a36c7f4478349.tar.gz
mediapointer-dvb-s2-6aaa3c9b588cb65eba7bb68b476a36c7f4478349.tar.bz2
Added setting to allow inversion of OCLK
Diffstat (limited to 'linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c')
-rw-r--r--linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c b/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c
index db786eb76..9fac18df1 100644
--- a/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c
+++ b/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c
@@ -85,7 +85,7 @@ struct ttusb {
struct dvb_adapter *adapter;
struct usb_device *dev;
- struct i2c_adapter i2c_adap;
+ struct i2c_adapter i2c_adap;
int disconnecting;
int iso_streaming;
@@ -116,7 +116,7 @@ struct ttusb {
int cc; /* MuxCounter - will increment on EVERY MUX PACKET */
/* (including stuffing. yes. really.) */
-
+
u8 last_result[32];
@@ -1179,7 +1179,7 @@ static int philips_tdm1316l_pll_set(struct dvb_frontend* fe, struct dvb_frontend
tuner_buf[3] = (cp << 5) | (filter << 3) | band;
if (i2c_transfer(&ttusb->i2c_adap, &tuner_msg, 1) != 1) return -EIO;
-
+
msleep(1);
return 0;
}
@@ -1195,6 +1195,7 @@ struct tda1004x_config philips_tdm1316l_config = {
.demod_address = 0x8,
.invert = 1,
+ .invert_oclk = 0,
.pll_init = philips_tdm1316l_pll_init,
.pll_set = philips_tdm1316l_pll_set,
.request_firmware = philips_tdm1316l_request_firmware,
@@ -1203,7 +1204,7 @@ struct tda1004x_config philips_tdm1316l_config = {
static void frontend_init(struct ttusb* ttusb)
-{
+{
switch(ttusb->dev->descriptor.idProduct) {
case 0x1005: // Hauppauge/TT Nova-USB-t budget (tda10046/Philips td1316(tda6651tt) OR cx22700/ALPS TDMB7(??))
// try the ALPS TDMB7 first