summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorPatrick Boettcher <pb@linuxtv.org>2007-07-31 13:19:28 +0200
committerPatrick Boettcher <pb@linuxtv.org>2007-07-31 13:19:28 +0200
commite9e052222fb9425fe9e5f2dee61f0425cdb2c8c8 (patch)
tree7c278562e63059d1522cef41f222d466dbec366d /linux
parent14a54ced06defabba72c271d472e8e7e7e7734f1 (diff)
downloadmediapointer-dvb-s2-e9e052222fb9425fe9e5f2dee61f0425cdb2c8c8.tar.gz
mediapointer-dvb-s2-e9e052222fb9425fe9e5f2dee61f0425cdb2c8c8.tar.bz2
Fix support for DiB7000M-devices
From: Patrick Boettcher <pb@linuxtv.org> Forgot to initialize the timf_default field. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/dvb/dvb-usb/dib0700_devices.c1
-rw-r--r--linux/drivers/media/dvb/frontends/dib7000m.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c b/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c
index a2b2830f9..a70fe75bc 100644
--- a/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c
+++ b/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c
@@ -515,6 +515,7 @@ static struct dibx000_bandwidth_config stk7700p_pll_config = {
(3 << 14) | (1 << 12) | (524 << 0), // sad_cfg: refsel, sel, freq_15k
60258167, // ifreq
20452225, // timf
+ 30000000, // xtal
};
static struct dib7000m_config stk7700p_dib7000m_config = {
diff --git a/linux/drivers/media/dvb/frontends/dib7000m.c b/linux/drivers/media/dvb/frontends/dib7000m.c
index 31c7753ce..00cd5fcbd 100644
--- a/linux/drivers/media/dvb/frontends/dib7000m.c
+++ b/linux/drivers/media/dvb/frontends/dib7000m.c
@@ -1379,6 +1379,8 @@ struct dvb_frontend * dib7000m_attach(struct i2c_adapter *i2c_adap, u8 i2c_addr,
demod->demodulator_priv = st;
memcpy(&st->demod.ops, &dib7000m_ops, sizeof(struct dvb_frontend_ops));
+ st->timf_default = cfg->bw->timf;
+
if (dib7000m_identify(st) != 0)
goto error;