summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/dib7000m.c
diff options
context:
space:
mode:
authorPatrick Boettcher <pb@linuxtv.org>2007-07-31 13:19:28 +0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-10 03:03:57 +0200
commit3db78e59500a45e05cbe271c8e1ba5a2b7ce0ef8 (patch)
tree66fc2b0bdeb150e0e668a3e5d23df1add6c70fb9 /drivers/media/dvb/frontends/dib7000m.c
parentV4L/DVB (5960): Add module parameter to enable SFN workaround (diff)
downloadlinux-3db78e59500a45e05cbe271c8e1ba5a2b7ce0ef8.tar.xz
linux-3db78e59500a45e05cbe271c8e1ba5a2b7ce0ef8.zip
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>
Diffstat (limited to 'drivers/media/dvb/frontends/dib7000m.c')
-rw-r--r--drivers/media/dvb/frontends/dib7000m.c2
1 files changed, 2 insertions, 0 deletions
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,
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;