public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ts2020.c: ts2020_set_params [BUG] point to fe->tuner_priv.
@ 2013-01-03 20:37 Malcolm Priestley
  0 siblings, 0 replies; only message in thread
From: Malcolm Priestley @ 2013-01-03 20:37 UTC (permalink / raw)
  To: linux-media; +Cc: Igor M. Liplianin, Konstantin Dimitrov, Mauro Carvalho Chehab


Fixes corruption of fe->demodulator_priv

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
---
 drivers/media/dvb-frontends/ts2020.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/dvb-frontends/ts2020.c b/drivers/media/dvb-frontends/ts2020.c
index 94e3fe2..f50e237 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;
-- 
1.8.0



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-01-03 20:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-03 20:37 [PATCH] ts2020.c: ts2020_set_params [BUG] point to fe->tuner_priv Malcolm Priestley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox