summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx18/cx18-audio.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-02-09 15:34:06 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-02-09 15:34:06 -0200
commit5799331703b7837fcfbef38d643300b2b8da0ba6 (patch)
treeaf842050c6bbc27e74a055bb6899cc409cde63d7 /linux/drivers/media/video/cx18/cx18-audio.c
parentf9263f9b94e9a6f28065616efc07eb78d000a662 (diff)
parentfeaba1cfa7f4825040ea17cec9408f3a4bba6dbd (diff)
downloadmediapointer-dvb-s2-5799331703b7837fcfbef38d643300b2b8da0ba6.tar.gz
mediapointer-dvb-s2-5799331703b7837fcfbef38d643300b2b8da0ba6.tar.bz2
merge: http://linuxtv.org/hg/~awalls/cx18-sliced-vbi
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/cx18/cx18-audio.c')
-rw-r--r--linux/drivers/media/video/cx18/cx18-audio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-audio.c b/linux/drivers/media/video/cx18/cx18-audio.c
index 57beddf0a..d19bd778c 100644
--- a/linux/drivers/media/video/cx18/cx18-audio.c
+++ b/linux/drivers/media/video/cx18/cx18-audio.c
@@ -64,8 +64,7 @@ int cx18_audio_set_io(struct cx18 *cx)
val = cx18_read_reg(cx, CX18_AUDIO_ENABLE) & ~0x30;
val |= (audio_input > CX18_AV_AUDIO_SERIAL2) ? 0x20 :
(audio_input << 4);
- cx18_write_reg(cx, val | 0xb00, CX18_AUDIO_ENABLE);
- cx18_vapi(cx, CX18_APU_RESETAI, 1, 0);
+ cx18_write_reg_expect(cx, val | 0xb00, CX18_AUDIO_ENABLE, val, 0x30);
return 0;
}