]> err.no Git - linux-2.6/commitdiff
V4L/DVB (4132): Don't kill cx88 DMA sound on channel change
authorRicardo Cerqueira <v4l@cerqueira.org>
Sun, 18 Jun 2006 03:21:49 +0000 (00:21 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 25 Jun 2006 05:05:12 +0000 (02:05 -0300)
There's a call at cx88-tvaudio to reset DMA sound on channel change; that
call was killing cx88-alsa whenever the channel was changed, resulting
in no sound. Remove those calls if cx88-alsa is selected to be compiled.

Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx88/cx88-tvaudio.c

index 256ae8515d2be79909ddce6d76da91c05ff19fd9..c43e590479308b55322c42740c58ccc4c602e9f1 100644 (file)
@@ -137,12 +137,12 @@ static void set_audio_finish(struct cx88_core *core, u32 ctl)
 {
        u32 volume;
 
-#ifndef USING_CX88_ALSA
+#ifndef CONFIG_VIDEO_CX88_ALSA
        /* restart dma; This avoids buzz in NICAM and is good in others  */
        cx88_stop_audio_dma(core);
 #endif
        cx_write(AUD_RATE_THRES_DMD, 0x000000C0);
-#ifndef USING_CX88_ALSA
+#ifndef CONFIG_VIDEO_CX88_ALSA
        cx88_start_audio_dma(core);
 #endif