summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx18/cx18-av-core.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-06-28 14:49:20 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2008-06-28 14:49:20 +0200
commita9c415b1c26de102f5725d295ba954f04a85dfa7 (patch)
tree5877dc333b6e2b0994da08368e95eec1ab261a74 /linux/drivers/media/video/cx18/cx18-av-core.c
parentddd760f00f9f81948566b1ad65343d33738da8ee (diff)
downloadmediapointer-dvb-s2-a9c415b1c26de102f5725d295ba954f04a85dfa7.tar.gz
mediapointer-dvb-s2-a9c415b1c26de102f5725d295ba954f04a85dfa7.tar.bz2
cx18: set correct audio inputs for tuner and line-in 2.
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/cx18/cx18-av-core.c')
-rw-r--r--linux/drivers/media/video/cx18/cx18-av-core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-av-core.c b/linux/drivers/media/video/cx18/cx18-av-core.c
index cf98b2c44..3ccdf613b 100644
--- a/linux/drivers/media/video/cx18/cx18-av-core.c
+++ b/linux/drivers/media/video/cx18/cx18-av-core.c
@@ -241,7 +241,8 @@ static int set_input(struct cx18 *cx, enum cx18_av_video_input vid_input,
}
switch (aud_input) {
- case CX18_AV_AUDIO_SERIAL:
+ case CX18_AV_AUDIO_SERIAL1:
+ case CX18_AV_AUDIO_SERIAL2:
/* do nothing, use serial audio input */
break;
case CX18_AV_AUDIO4: reg &= ~0x30; break;