From: Malcolm Priestley Date: Thu, 3 Jan 2013 19:37:25 +0000 (-0300) Subject: [media] ts2020.c: ts2020_set_params [BUG] point to fe->tuner_priv X-Git-Tag: next-20130218~80^2~1^2~207 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9898df6482f71fa0d27b029789ef2f37988c06b3;p=karo-tx-linux.git [media] ts2020.c: ts2020_set_params [BUG] point to fe->tuner_priv Fixes corruption of fe->demodulator_priv Signed-off-by: Malcolm Priestley Signed-off-by: Mauro Carvalho Chehab --- 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;