[PATCH 0/5] ALSA: Drop hackish GFP giveaway for CONTINUOUS pages
Takashi Iwai
tiwai at suse.de
Tue Aug 23 13:57:35 CEST 2022
Hi,
this is a series of cleanup patches for dropping the current hackish
way of passing the GFP_* flags for CONTINOUS and VMALLOC memory
allocations. There are only three users for this legacy feature, and
all of them seem superfluous. And, if any driver requires the memory
restriction in future, it can now pass the proper device pointer for
specifying the DMA mask.
Takashi
===
Takashi Iwai (5):
ALSA: vx: Drop superfluous GFP setup
ALSA: pdaudiocf: Drop superfluous GFP setup
ASoC: Intel: sst: Switch to standard device pages
ALSA: memalloc: Drop special handling of GFP for CONTINUOUS allocation
ALSA: doc: Drop snd_dma_continuous_data() usages
.../kernel-api/writing-an-alsa-driver.rst | 21 ++--
include/sound/memalloc.h | 3 -
sound/core/memalloc.c | 113 ++++++++----------
sound/drivers/vx/vx_pcm.c | 3 +-
sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c | 3 +-
sound/soc/intel/atom/sst-mfld-platform-pcm.c | 7 +-
6 files changed, 61 insertions(+), 89 deletions(-)
--
2.35.3
More information about the Alsa-devel
mailing list