From: Michael Krufky Date: Sun, 10 Jan 2010 21:13:33 +0000 (-0300) Subject: V4L/DVB (13934): tda8290: Fix FM radio easy programming standard selection for TDA8295 X-Git-Tag: v2.6.33-rc5~24^2~7 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3f76cf8c8ed10da1ce50f821366d0dc590397069;p=karo-tx-linux.git V4L/DVB (13934): tda8290: Fix FM radio easy programming standard selection for TDA8295 Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab --- 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);