aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Boettcher <pb@linuxtv.org>2007-07-31 07:19:28 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-09 21:03:57 -0400
commit3db78e59500a45e05cbe271c8e1ba5a2b7ce0ef8 (patch)
tree66fc2b0bdeb150e0e668a3e5d23df1add6c70fb9
parent8f6956c7f9fa72c502bde47df4122bd32d0b86d5 (diff)
V4L/DVB (5961): Fix support for DiB7000M-devices
Forgot to initialize the timf_default field. Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--drivers/media/dvb/dvb-usb/dib0700_devices.c1
-rw-r--r--drivers/media/dvb/frontends/dib7000m.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-usb/dib0700_devices.c b/drivers/media/dvb/dvb-usb/dib0700_devices.c
index a2b2830f978a..a70fe75bcb27 100644
--- a/drivers/media/dvb/dvb-usb/dib0700_devices.c
+++ b/drivers/media/dvb/dvb-usb/dib0700_devices.c
@@ -515,6 +515,7 @@ static struct dibx000_bandwidth_config stk7700p_pll_config = {
515 (3 << 14) | (1 << 12) | (524 << 0), // sad_cfg: refsel, sel, freq_15k 515 (3 << 14) | (1 << 12) | (524 << 0), // sad_cfg: refsel, sel, freq_15k
516 60258167, // ifreq 516 60258167, // ifreq
517 20452225, // timf 517 20452225, // timf
518 30000000, // xtal
518}; 519};
519 520
520static struct dib7000m_config stk7700p_dib7000m_config = { 521static struct dib7000m_config stk7700p_dib7000m_config = {
diff --git a/drivers/media/dvb/frontends/dib7000m.c b/drivers/media/dvb/frontends/dib7000m.c
index 0ad9f3eb20a6..fb18441a8c57 100644
--- a/drivers/media/dvb/frontends/dib7000m.c
+++ b/drivers/media/dvb/frontends/dib7000m.c
@@ -1344,6 +1344,8 @@ struct dvb_frontend * dib7000m_attach(struct i2c_adapter *i2c_adap, u8 i2c_addr,
1344 demod->demodulator_priv = st; 1344 demod->demodulator_priv = st;
1345 memcpy(&st->demod.ops, &dib7000m_ops, sizeof(struct dvb_frontend_ops)); 1345 memcpy(&st->demod.ops, &dib7000m_ops, sizeof(struct dvb_frontend_ops));
1346 1346
1347 st->timf_default = cfg->bw->timf;
1348
1347 if (dib7000m_identify(st) != 0) 1349 if (dib7000m_identify(st) != 0)
1348 goto error; 1350 goto error;
1349 1351