summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@kernellabs.com>2010-01-10 21:13:33 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-01-17 13:31:37 (GMT)
commit3f76cf8c8ed10da1ce50f821366d0dc590397069 (patch)
tree9f10bf056960778f4705d6983508ee7f6dcb3e3b /drivers/media
parent07d1c69b2dcfdd1b21e36af0ff8b9506234908ee (diff)
downloadlinux-fsl-qoriq-3f76cf8c8ed10da1ce50f821366d0dc590397069.tar.xz
V4L/DVB (13934): tda8290: Fix FM radio easy programming standard selection for TDA8295
Signed-off-by: Michael Krufky <mkrufky@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/common/tuners/tda8290.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/common/tuners/tda8290.c b/drivers/media/common/tuners/tda8290.c
index 19010f3..2833137 100644
--- a/drivers/media/common/tuners/tda8290.c
+++ b/drivers/media/common/tuners/tda8290.c
@@ -144,7 +144,8 @@ static void set_audio(struct dvb_frontend *fe,
}
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");
} else {
tuner_dbg("setting tda829x to system %s\n", mode);