Commit 3f76cf8c authored by Michael Krufky's avatar Michael Krufky Committed by Mauro Carvalho Chehab

V4L/DVB (13934): tda8290: Fix FM radio easy programming standard selection for TDA8295

Signed-off-by: default avatarMichael Krufky <mkrufky@kernellabs.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 07d1c69b
...@@ -144,7 +144,8 @@ static void set_audio(struct dvb_frontend *fe, ...@@ -144,7 +144,8 @@ static void set_audio(struct dvb_frontend *fe,
} }
if (params->mode == V4L2_TUNER_RADIO) { if (params->mode == V4L2_TUNER_RADIO) {
priv->tda8290_easy_mode = 0x01; /* Start with MN values */ /* Set TDA8295 to FM radio; Start TDA8290 with MN values */
priv->tda8290_easy_mode = (priv->ver & TDA8295) ? 0x80 : 0x01;
tuner_dbg("setting to radio FM\n"); tuner_dbg("setting to radio FM\n");
} else { } else {
tuner_dbg("setting tda829x to system %s\n", mode); tuner_dbg("setting tda829x to system %s\n", mode);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment