mbox series

[0/8] ASoC: memalloc cleanups

Message ID 20191108094641.20086-1-tiwai@suse.de (mailing list archive)
Headers show
Series ASoC: memalloc cleanups | expand

Message

Takashi Iwai Nov. 8, 2019, 9:46 a.m. UTC
Hi,

this is a patch series for ASoC to clean up ALSA memory allocation API
usages.  It's based on my recent API changes found on for-next branch
for 5.5 merge, so please give ACK if it's OK, so that I can merge them
into my sound git tree.

Basically three things:
* Drop superfluous snd_pcm_sgbuf_ops_page usages
* Drop snd_dma_continuous_data() macro usage for the normal continuous
  page allocation
* Convert PCM vmalloc buffer allocation with the preallocation API


Takashi

===

Takashi Iwai (8):
  ASoC: Remove superfluous snd_dma_continuous_data()
  ASoC: rt5514-spi: Convert to the common vmalloc memalloc
  ASoC: intel: Drop superfluous snd_pcm_sgbuf_ops_page
  ASoC: intel: Avoid non-standard macro usage
  ASoC: SOF: Drop superfluous snd_pcm_sgbuf_ops_page
  ASoC: rt5677-spi: Convert to the common vmalloc memalloc
  ASoC: cros_ec_codec: Convert to the common vmalloc memalloc
  ALSA: pcm: Unexport snd_pcm_sgbuf_ops_page

 include/sound/pcm.h                       |  8 --------
 sound/core/pcm_local.h                    |  5 +++++
 sound/core/pcm_memory.c                   |  3 +--
 sound/soc/au1x/dma.c                      |  2 +-
 sound/soc/codecs/cros_ec_codec.c          | 16 ++++++++--------
 sound/soc/codecs/rt5514-spi.c             | 21 +++++++++++----------
 sound/soc/codecs/rt5677-spi.c             | 17 ++++++++---------
 sound/soc/dwc/dwc-pcm.c                   |  2 +-
 sound/soc/intel/haswell/sst-haswell-pcm.c | 12 ------------
 sound/soc/intel/skylake/skl-pcm.c         | 14 +-------------
 sound/soc/sh/dma-sh7760.c                 |  2 +-
 sound/soc/sof/pcm.c                       | 12 ------------
 12 files changed, 37 insertions(+), 77 deletions(-)

Comments

Mark Brown Nov. 8, 2019, 12:43 p.m. UTC | #1
On Fri, Nov 08, 2019 at 10:46:33AM +0100, Takashi Iwai wrote:
> Hi,
> 
> this is a patch series for ASoC to clean up ALSA memory allocation API
> usages.  It's based on my recent API changes found on for-next branch
> for 5.5 merge, so please give ACK if it's OK, so that I can merge them
> into my sound git tree.

Acked-by: Mark Brown <broonie@kernel.org>