Skip to content

Commit f5f17f0

Browse files
deborahbrouwermchehab
authored andcommitted
media: bttv: use audio defaults for winfast2000
The winfast2000 card advertised rxsubchans that weren't compatible with its default audmode. Just use the default audmode (V4L2_TUNER_MODE_MONO) and default audio reception flag (V4L2_TUNER_SUB_MONO) for this card. Fixes compliance test failures. Signed-off-by: Deborah Brouwer <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
1 parent 7df8d5c commit f5f17f0

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

drivers/media/pci/bt8xx/bttv-audio-hook.c

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -293,16 +293,8 @@ void winfast2000_audio(struct bttv *btv, struct v4l2_tuner *t, int set)
293293
{
294294
unsigned long val;
295295

296-
if (!set) {
297-
/* Not much to do here */
298-
t->audmode = V4L2_TUNER_MODE_LANG1;
299-
t->rxsubchans = V4L2_TUNER_SUB_MONO |
300-
V4L2_TUNER_SUB_STEREO |
301-
V4L2_TUNER_SUB_LANG1 |
302-
V4L2_TUNER_SUB_LANG2;
303-
296+
if (!set)
304297
return;
305-
}
306298

307299
/*btor (0xc32000, BT848_GPIO_OUT_EN);*/
308300
switch (t->audmode) {

0 commit comments

Comments
 (0)