projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07d1c69
)
V4L/DVB (13934): tda8290: Fix FM radio easy programming standard selection for TDA8295
author
Michael Krufky
<
[email protected]
>
Sun, 10 Jan 2010 21:13:33 +0000
(18:13 -0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Sun, 17 Jan 2010 13:31:37 +0000
(11:31 -0200)
Signed-off-by: Michael Krufky <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/common/tuners/tda8290.c
patch
|
blob
|
history
diff --git
a/drivers/media/common/tuners/tda8290.c
b/drivers/media/common/tuners/tda8290.c
index 19010f3d45088aab56c14aacdc0fbcfb969cf96f..2833137fa8195bdc41c8337267bcbee81168082a 100644
(file)
--- 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);