[alsa-devel] [PATCH 00/24] Clean up memalloc callers
Takashi Iwai
tiwai at suse.de
Tue Nov 5 16:18:32 CET 2019
Hi,
this is a trivial cleanup series corresponding to the recent ALSA
memalloc API enhancement[1].
Most of patches do simple and systematic changes: either convert to
the new way of vmalloc buffer handling, replacing the superfluous
snd_dma_continous_data() macro with NULL, or replacing the
snd_dma_pci_data() with the direct device pointer assignment. Some
have a slightly more changes but they are straightforward enough.
Also, a few document updates are provided.
There are still a few reminders (noticeably ASoC), and I'll post the
patches for them later. Once after all conversions done, we can drop
the superfluous API functions and macros.
thanks,
Takashi
[1] https://lore.kernel.org/r/20191105080138.1260-1-tiwai@suse.de
===
Takashi Iwai (24):
ALSA: drivers: Remove superfluous snd_dma_continuous_data()
ALSA: mips: Remove superfluous snd_dma_continuous_data()
ALSA: rme32: Remove superfluous snd_dma_continuous_data()
ALSA: sh: Remove superfluous snd_dma_continuous_data()
ALSA: sparc: Remove superfluous snd_dma_continuous_data()
ALSA: usb: Remove superfluous snd_dma_continuous_data()
ALSA: 6fire: Drop the dead code
ALSA: usb-audio: Convert to the common vmalloc memalloc
ALSA: aloop: Convert to the common vmalloc memalloc
ALSA: firewire: Convert to the common vmalloc memalloc
ALSA: 6fire: Convert to the common vmalloc memalloc
ALSA: caiaq: Convert to the common vmalloc memalloc
ALSA: hiface: Convert to the common vmalloc memalloc
ALSA: ua101: Convert to the common vmalloc memalloc
ALSA: vx: Convert to the common vmalloc memalloc
ALSA: pdaudiocf: Convert to the common vmalloc memalloc
ALSA: mips: Convert to the common vmalloc memalloc
ALSA: pci: Drop superfluous snd_pcm_sgbuf_ops_page
ALSA: aoa: Avoid non-standard macro usage
ALSA: echoaudio: Avoid non-standard macro usage
ALSA: es1968: Avoid non-standard macro usage
ALSA: rme: Avoid non-standard macro usage
ALSA: pci: Avoid non-standard macro usage
ALSA: docs: Remove snd_dma_pci_data() usage in documentation
.../sound/kernel-api/writing-an-alsa-driver.rst | 8 ++--
sound/aoa/soundbus/i2sbus/pcm.c | 2 +-
sound/drivers/aloop.c | 8 ++--
sound/drivers/dummy.c | 2 +-
sound/drivers/ml403-ac97cr.c | 2 +-
sound/drivers/pcsp/pcsp_lib.c | 4 +-
sound/drivers/vx/vx_pcm.c | 10 ++---
sound/firewire/bebob/bebob_pcm.c | 9 ++--
sound/firewire/dice/dice-pcm.c | 11 ++---
sound/firewire/digi00x/digi00x-pcm.c | 9 ++--
sound/firewire/fireface/ff-pcm.c | 9 ++--
sound/firewire/fireworks/fireworks_pcm.c | 9 ++--
sound/firewire/isight.c | 8 ++--
sound/firewire/motu/motu-pcm.c | 9 ++--
sound/firewire/oxfw/oxfw-pcm.c | 14 +++---
sound/firewire/tascam/tascam-pcm.c | 9 ++--
sound/mips/hal2.c | 3 +-
sound/mips/sgio2audio.c | 12 +++---
sound/pci/ad1889.c | 6 +--
sound/pci/ali5451/ali5451.c | 2 +-
sound/pci/als300.c | 3 +-
sound/pci/als4000.c | 3 +-
sound/pci/asihpi/asihpi.c | 4 +-
sound/pci/atiixp.c | 6 +--
sound/pci/atiixp_modem.c | 4 +-
sound/pci/au88x0/au88x0_pcm.c | 3 +-
sound/pci/aw2/aw2-alsa.c | 6 +--
sound/pci/azt3328.c | 8 ++--
sound/pci/bt87x.c | 5 +--
sound/pci/ca0106/ca0106_main.c | 6 +--
sound/pci/cmipci.c | 6 +--
sound/pci/cs4281.c | 3 +-
sound/pci/cs46xx/cs46xx_lib.c | 16 ++++---
sound/pci/cs5535audio/cs5535audio_pcm.c | 6 +--
sound/pci/ctxfi/ctpcm.c | 5 +--
sound/pci/ctxfi/ctvmem.c | 2 +-
sound/pci/echoaudio/echoaudio.c | 24 +++--------
sound/pci/emu10k1/emu10k1.c | 5 ++-
sound/pci/emu10k1/emu10k1x.c | 6 +--
sound/pci/emu10k1/emufx.c | 2 +-
sound/pci/emu10k1/emupcm.c | 12 +++---
sound/pci/emu10k1/memory.c | 4 +-
sound/pci/emu10k1/p16v.c | 4 +-
sound/pci/ens1370.c | 8 ++--
sound/pci/es1938.c | 3 +-
sound/pci/es1968.c | 4 +-
sound/pci/fm801.c | 2 +-
sound/pci/hda/hda_controller.c | 1 -
sound/pci/ice1712/ice1712.c | 9 ++--
sound/pci/ice1712/ice1724.c | 6 +--
sound/pci/intel8x0.c | 4 +-
sound/pci/intel8x0m.c | 4 +-
sound/pci/korg1212/korg1212.c | 8 ++--
sound/pci/lola/lola.c | 2 +-
sound/pci/lola/lola_pcm.c | 5 +--
sound/pci/lx6464es/lx6464es.c | 2 +-
sound/pci/maestro3.c | 3 +-
sound/pci/mixart/mixart.c | 7 +--
sound/pci/oxygen/oxygen_pcm.c | 10 ++---
sound/pci/pcxhr/pcxhr.c | 4 +-
sound/pci/riptide/riptide.c | 6 +--
sound/pci/rme32.c | 4 +-
sound/pci/rme9652/hdsp.c | 7 +--
sound/pci/rme9652/hdspm.c | 3 +-
sound/pci/rme9652/rme9652.c | 7 +--
sound/pci/sis7019.c | 3 +-
sound/pci/sonicvibes.c | 3 +-
sound/pci/trident/trident_main.c | 24 ++++++-----
sound/pci/via82xx.c | 17 +++-----
sound/pci/via82xx_modem.c | 6 +--
sound/pci/ymfpci/ymfpci_main.c | 16 ++++---
sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c | 9 ++--
sound/sh/aica.c | 2 +-
sound/sh/sh_dac_audio.c | 2 +-
sound/sparc/amd7930.c | 2 +-
sound/sparc/dbri.c | 2 +-
sound/usb/6fire/pcm.c | 16 +++----
sound/usb/caiaq/audio.c | 8 ++--
sound/usb/hiface/pcm.c | 9 ++--
sound/usb/line6/pcm.c | 4 +-
sound/usb/misc/ua101.c | 14 +++---
sound/usb/pcm.c | 50 ++++------------------
sound/usb/usx2y/usbusx2yaudio.c | 4 +-
sound/usb/usx2y/usx2yhwdeppcm.c | 4 +-
84 files changed, 266 insertions(+), 327 deletions(-)
--
2.16.4
More information about the Alsa-devel
mailing list