提交 9898df64 编写于 作者: M Malcolm Priestley 提交者: Mauro Carvalho Chehab

[media] ts2020.c: ts2020_set_params [BUG] point to fe->tuner_priv

Fixes corruption of fe->demodulator_priv
Signed-off-by: NMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 a96fbe04
...@@ -182,7 +182,7 @@ static int ts2020_set_tuner_rf(struct dvb_frontend *fe) ...@@ -182,7 +182,7 @@ static int ts2020_set_tuner_rf(struct dvb_frontend *fe)
static int ts2020_set_params(struct dvb_frontend *fe) static int ts2020_set_params(struct dvb_frontend *fe)
{ {
struct dtv_frontend_properties *c = &fe->dtv_property_cache; 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; int ret;
u32 frequency = c->frequency; u32 frequency = c->frequency;
s32 offset_khz; s32 offset_khz;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册