diff options
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/bt8xx/bttv-audio-hook.c | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/drivers/media/video/bt8xx/bttv-audio-hook.c b/drivers/media/video/bt8xx/bttv-audio-hook.c index a075198f8300..67b63423575f 100644 --- a/drivers/media/video/bt8xx/bttv-audio-hook.c +++ b/drivers/media/video/bt8xx/bttv-audio-hook.c | |||
@@ -101,24 +101,28 @@ void gvbctv5pci_audio(struct bttv *btv, struct v4l2_tuner *t, int set) | |||
101 | } else { | 101 | } else { |
102 | switch (val & 0x70) { | 102 | switch (val & 0x70) { |
103 | case 0x10: | 103 | case 0x10: |
104 | t->audmode = V4L2_TUNER_MODE_LANG1 | V4L2_TUNER_MODE_LANG2; | 104 | t->rxsubchans = V4L2_TUNER_SUB_LANG1 | V4L2_TUNER_SUB_LANG2; |
105 | break; | 105 | break; |
106 | case 0x30: | 106 | case 0x30: |
107 | t->audmode = V4L2_TUNER_MODE_LANG2; | 107 | t->rxsubchans = V4L2_TUNER_SUB_LANG2; |
108 | break; | 108 | break; |
109 | case 0x50: | 109 | case 0x50: |
110 | t->audmode = V4L2_TUNER_MODE_LANG1; | 110 | t->rxsubchans = V4L2_TUNER_SUB_LANG1; |
111 | break; | 111 | break; |
112 | case 0x60: | 112 | case 0x60: |
113 | t->audmode = V4L2_TUNER_MODE_STEREO; | 113 | t->rxsubchans = V4L2_TUNER_SUB_STEREO; |
114 | break; | 114 | break; |
115 | case 0x70: | 115 | case 0x70: |
116 | t->audmode = V4L2_TUNER_MODE_MONO; | 116 | t->rxsubchans = V4L2_TUNER_SUB_MONO; |
117 | break; | 117 | break; |
118 | default: | 118 | default: |
119 | t->audmode = V4L2_TUNER_MODE_MONO | V4L2_TUNER_MODE_STEREO | | 119 | t->rxsubchans = V4L2_TUNER_SUB_MONO | |
120 | V4L2_TUNER_MODE_LANG1 | V4L2_TUNER_MODE_LANG2; | 120 | V4L2_TUNER_SUB_STEREO | |
121 | V4L2_TUNER_SUB_LANG1 | | ||
122 | V4L2_TUNER_SUB_LANG2; | ||
121 | } | 123 | } |
124 | t->audmode = V4L2_TUNER_MODE_STEREO | | ||
125 | V4L2_TUNER_MODE_LANG1 | V4L2_TUNER_MODE_LANG2; | ||
122 | } | 126 | } |
123 | } | 127 | } |
124 | 128 | ||