summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/ts2020.c
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2013-01-03 16:37:25 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-01-06 10:43:46 -0200
commit9898df6482f71fa0d27b029789ef2f37988c06b3 (patch)
tree8d2fb40f29b059b44a2cf65444ffa236488afb21 /drivers/media/dvb-frontends/ts2020.c
parenta96fbe0429ace98bf3d92340ab9caa03c80db88c (diff)
[media] ts2020.c: ts2020_set_params [BUG] point to fe->tuner_priv
Fixes corruption of fe->demodulator_priv Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb-frontends/ts2020.c')
-rw-r--r--drivers/media/dvb-frontends/ts2020.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/ts2020.c b/drivers/media/dvb-frontends/ts2020.c
index 94e3fe21eefb..f50e237e1464 100644
--- a/drivers/media/dvb-frontends/ts2020.c
+++ b/drivers/media/dvb-frontends/ts2020.c
@@ -182,7 +182,7 @@ static int ts2020_set_tuner_rf(struct dvb_frontend *fe)
static int ts2020_set_params(struct dvb_frontend *fe)
{
struct dtv_frontend_properties *c = &fe->dtv_property_cache;
- struct ts2020_priv *priv = fe->demodulator_priv;
+ struct ts2020_priv *priv = fe->tuner_priv;
int ret;
u32 frequency = c->frequency;
s32 offset_khz;