mbox series

[0/5] ALSA: Drop hackish GFP giveaway for CONTINUOUS pages

Message ID 20220823115740.14123-1-tiwai@suse.de (mailing list archive)
Headers show
Series ALSA: Drop hackish GFP giveaway for CONTINUOUS pages | expand

Message

Takashi Iwai Aug. 23, 2022, 11:57 a.m. UTC
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(-)