summaryrefslogtreecommitdiffstats
path: root/drivers/media/common
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@kernellabs.com>2010-01-10 22:13:33 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-01-17 14:31:37 +0100
commit3f76cf8c8ed10da1ce50f821366d0dc590397069 (patch)
tree9f10bf056960778f4705d6983508ee7f6dcb3e3b /drivers/media/common
parentV4L/DVB (13900): gspca - sunplus: Fix bridge exchanges. (diff)
downloadlinux-3f76cf8c8ed10da1ce50f821366d0dc590397069.tar.xz
linux-3f76cf8c8ed10da1ce50f821366d0dc590397069.zip
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')
-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,
}
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);