]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
[media] ts2020.c: ts2020_set_params [BUG] point to fe->tuner_priv
authorMalcolm Priestley <tvboxspy@gmail.com>
Thu, 3 Jan 2013 19:37:25 +0000 (16:37 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 6 Jan 2013 12:43:46 +0000 (10:43 -0200)
Fixes corruption of fe->demodulator_priv

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb-frontends/ts2020.c

index 94e3fe21eefbf0be4f2ed69dc976399a7d5c150f..f50e237e1464e611ec6a77e4ae66988696ebf2cf 100644 (file)
@@ -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;