diff options
author | Ricardo Cerqueira <v4l@cerqueira.org> | 2006-08-17 22:40:28 +0100 |
---|---|---|
committer | Ricardo Cerqueira <v4l@cerqueira.org> | 2006-08-17 22:40:28 +0100 |
commit | b10135b1a14de89a8c8babaa4b8963306822002c (patch) | |
tree | 08b0d61e5984f7a7654cba36401df99eff9a7579 /linux/drivers/media/video/cx88/cx88-tvaudio.c | |
parent | af1f59fa1dacf231cf12ff92ee3a50e0a43c47bf (diff) | |
download | mediapointer-dvb-s2-b10135b1a14de89a8c8babaa4b8963306822002c.tar.gz mediapointer-dvb-s2-b10135b1a14de89a8c8babaa4b8963306822002c.tar.bz2 |
Enable audio DMA restart on channel change even when cx88-alsa is compiled
From: Ricardo Cerqueira <v4l@cerqueira.org>
cx88-alsa can be compiled in (in distro built kernels, for example), but
not used. In those cases, the audio DMA restart is needed for proper sound
on NICAM channels.
This patch enables the DMA restart even with ALSA, but the functions now
check if cx88-alsa is really active.
Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-tvaudio.c')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-tvaudio.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-tvaudio.c b/linux/drivers/media/video/cx88/cx88-tvaudio.c index fccba4f6c..bb14a3598 100644 --- a/linux/drivers/media/video/cx88/cx88-tvaudio.c +++ b/linux/drivers/media/video/cx88/cx88-tvaudio.c @@ -140,14 +140,10 @@ static void set_audio_finish(struct cx88_core *core, u32 ctl) { u32 volume; -#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 CONFIG_VIDEO_CX88_ALSA cx88_start_audio_dma(core); -#endif if (cx88_boards[core->board].blackbird) { /* sets sound input from external adc */ |