V4L/DVB (4504): Enable audio DMA restart on channel change even when cx88-alsa is...
authorRicardo Cerqueira <v4l@cerqueira.org>
Thu, 17 Aug 2006 21:40:28 +0000 (18:40 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 26 Sep 2006 15:30:32 +0000 (12:30 -0300)
commite738e35d1e9ae15b597c713e0b74e9a535020c0d
treeb5bf56f45307ae39412add8a1c9b028b86763b6f
parent4e318bef68e819f001a3c8af65401891893d3d54
V4L/DVB (4504): Enable audio DMA restart on channel change even when cx88-alsa is compiled

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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx88/cx88-core.c
drivers/media/video/cx88/cx88-tvaudio.c