acrn-kernel/sound/pci/cs46xx
Takashi Iwai 4d9e9153f1 ALSA: pci: cs46xx: Fix set up buffer type properly
CS46xx driver switches the buffer depending on the number of periods,
and in some cases it switches to the own buffer without updating the
buffer type properly.  This may cause a problem with the mmap on
exotic architectures that require the own mmap call for the coherent
DMA buffer.

This patch addresses the potential breakage by replacing the buffer
setup with the proper macro.  It also simplifies the source code,
too.

Link: https://lore.kernel.org/r/20210809071829.22238-4-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2021-08-09 10:04:05 +02:00
..
Makefile
cs46xx.c ALSA: cs46xx: Allocate resources with device-managed APIs 2021-07-19 16:16:54 +02:00
cs46xx.h ALSA: cs46xx: Allocate resources with device-managed APIs 2021-07-19 16:16:54 +02:00
cs46xx_dsp_scb_types.h
cs46xx_dsp_spos.h
cs46xx_dsp_task_types.h
cs46xx_lib.c ALSA: pci: cs46xx: Fix set up buffer type properly 2021-08-09 10:04:05 +02:00
cs46xx_lib.h
dsp_spos.c
dsp_spos.h
dsp_spos_scb_lib.c