Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b63535f4 authored by Ricardo Cerqueira's avatar Ricardo Cerqueira Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (4132): Don't kill cx88 DMA sound on channel change



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: default avatarRicardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 0f4b5680
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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