X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fmedia%2Fvideo%2Ftda9887.c;h=fde576f1101cb3f980c9cb616aa3ae7ee1be48c3;hb=48dc30a148b837bcfff0902011633a94789a64fa;hp=8dab481d384aa58b292de4dd26fd6155c8fda1ac;hpb=1cfef5ed631dedc55ca3c57a5fcfd01c77db3b59;p=linux-2.6-omap-h63xx.git diff --git a/drivers/media/video/tda9887.c b/drivers/media/video/tda9887.c index 8dab481d384..fde576f1101 100644 --- a/drivers/media/video/tda9887.c +++ b/drivers/media/video/tda9887.c @@ -480,6 +480,14 @@ static int tda9887_set_config(struct tuner *t, char *buf) } if ((t->tda9887_config & TDA9887_INTERCARRIER_NTSC) && (t->std & V4L2_STD_NTSC)) 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; }