aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/common/tuners/tda8290.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@kernellabs.com>2010-01-10 16:13:33 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-01-17 08:31:37 -0500
commit3f76cf8c8ed10da1ce50f821366d0dc590397069 (patch)
tree9f10bf056960778f4705d6983508ee7f6dcb3e3b /drivers/media/common/tuners/tda8290.c
parent07d1c69b2dcfdd1b21e36af0ff8b9506234908ee (diff)
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/common/tuners/tda8290.c')
-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 19010f3d4508..2833137fa819 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,
144 } 144 }
145 145
146 if (params->mode == V4L2_TUNER_RADIO) { 146 if (params->mode == V4L2_TUNER_RADIO) {
147 priv->tda8290_easy_mode = 0x01; /* Start with MN values */ 147 /* Set TDA8295 to FM radio; Start TDA8290 with MN values */
148 priv->tda8290_easy_mode = (priv->ver & TDA8295) ? 0x80 : 0x01;
148 tuner_dbg("setting to radio FM\n"); 149 tuner_dbg("setting to radio FM\n");
149 } else { 150 } else {
150 tuner_dbg("setting tda829x to system %s\n", mode); 151 tuner_dbg("setting tda829x to system %s\n", mode);