summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tda9887.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-12-04 09:31:35 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-12-04 09:31:35 -0200
commitb32f817f3ce7515de06fa1513b37597860ef47a4 (patch)
tree14134327f9c11dee1f7eff24c24f46c00a8f44e4 /linux/drivers/media/video/tda9887.c
parent3e594a0eee60f61694381be3d4682e35a692519d (diff)
downloadmediapointer-dvb-s2-b32f817f3ce7515de06fa1513b37597860ef47a4.tar.gz
mediapointer-dvb-s2-b32f817f3ce7515de06fa1513b37597860ef47a4.tar.bz2
Usbvision radio requires GainNormal at e register
From: Mauro Carvalho Chehab <mchehab@infradead.org> Adds an option to select GainNormal at tda9887 and make usbvision to use it. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/tda9887.c')
-rw-r--r--linux/drivers/media/video/tda9887.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/linux/drivers/media/video/tda9887.c b/linux/drivers/media/video/tda9887.c
index 41be60aee..a1577cff9 100644
--- a/linux/drivers/media/video/tda9887.c
+++ b/linux/drivers/media/video/tda9887.c
@@ -493,6 +493,12 @@ static int tda9887_set_config(struct tuner *t, char *buf)
buf[1] &= ~cQSS;
if (t->tda9887_config & TDA9887_GATING_18)
buf[3] &= ~cGating_36;
+
+ if (t->tda9887_config & TDA9887_GAIN_NORMAL) {
+ radio_stereo.e &= ~cTunerGainLow;
+ radio_mono.e &= ~cTunerGainLow;
+ }
+
return 0;
}