mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
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 <deborah.brouwer@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
committed by
CrazyCat
parent
6f4c23ebf6
commit
03b0cdc16e
@@ -293,16 +293,8 @@ void winfast2000_audio(struct bttv *btv, struct v4l2_tuner *t, int set)
|
|||||||
{
|
{
|
||||||
unsigned long val;
|
unsigned long val;
|
||||||
|
|
||||||
if (!set) {
|
if (!set)
|
||||||
/* Not much to do here */
|
|
||||||
t->audmode = V4L2_TUNER_MODE_LANG1;
|
|
||||||
t->rxsubchans = V4L2_TUNER_SUB_MONO |
|
|
||||||
V4L2_TUNER_SUB_STEREO |
|
|
||||||
V4L2_TUNER_SUB_LANG1 |
|
|
||||||
V4L2_TUNER_SUB_LANG2;
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
|
|
||||||
/*btor (0xc32000, BT848_GPIO_OUT_EN);*/
|
/*btor (0xc32000, BT848_GPIO_OUT_EN);*/
|
||||||
switch (t->audmode) {
|
switch (t->audmode) {
|
||||||
|
Reference in New Issue
Block a user