diff options
author | Mauro Carvalho Chehab | 2006-12-04 12:31:35 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab | 2006-12-10 12:05:51 +0100 |
commit | cefccc8011c58b559498396f0ccefa0a0ffa3f53 (patch) | |
tree | ea31f846a74757ea42ec407efcd724eff05b9e38 /drivers/media/video/tda9887.c | |
parent | V4L/DVB (4933): Usbvision_v4l2: radio interface / tda9887 problem ? (diff) | |
download | kernel-qcow2-linux-cefccc8011c58b559498396f0ccefa0a0ffa3f53.tar.gz kernel-qcow2-linux-cefccc8011c58b559498396f0ccefa0a0ffa3f53.tar.xz kernel-qcow2-linux-cefccc8011c58b559498396f0ccefa0a0ffa3f53.zip |
V4L/DVB (4934): Usbvision radio requires GainNormal at e register
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 'drivers/media/video/tda9887.c')
-rw-r--r-- | drivers/media/video/tda9887.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/video/tda9887.c b/drivers/media/video/tda9887.c index 87ffb0e84a7a..fde576f1101c 100644 --- a/drivers/media/video/tda9887.c +++ b/drivers/media/video/tda9887.c @@ -482,6 +482,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; } |