Skip to content

ASoC: memalloc cleanups

Takashi Iwai alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8ASoC: Remove superfluous snd_dma_continuous_data()sound/soc/au1x/dma.c sound/soc/dwc/dwc-pcm.c sound/soc/sh/dma-sh7760.c+3 -30 replies
2/8ASoC: rt5514-spi: Convert to the common vmalloc memallocsound/soc/codecs/rt5514-spi.c+11 -100 replies
3/8ASoC: intel: Drop superfluous snd_pcm_sgbuf_ops_pagesound/soc/intel/haswell/sst-haswell-pcm.c sound/soc/intel/skylake/skl-pcm.c+0 -240 replies
4/8ASoC: intel: Avoid non-standard macro usagesound/soc/intel/skylake/skl-pcm.c+1 -10 replies
5/8ASoC: SOF: Drop superfluous snd_pcm_sgbuf_ops_pagesound/soc/sof/pcm.c+0 -120 replies
6/8ASoC: rt5677-spi: Convert to the common vmalloc memallocsound/soc/codecs/rt5677-spi.c+8 -91 reply
7/8ASoC: cros_ec_codec: Convert to the common vmalloc memallocsound/soc/codecs/cros_ec_codec.c+8 -80 replies
8/8ALSA: pcm: Unexport snd_pcm_sgbuf_ops_pageinclude/sound/pcm.h sound/core/pcm_local.h sound/core/pcm_memory.c+6 -100 replies

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMark BrownCurtis Malainey
SeriesA-b
1/8
2/8
3/8
4/8
5/8
6/8A-b
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [alsa-devel] [PATCH 0/8] ASoC: memalloc cleanups

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(-)
Signature · 6 lines
2.16.4

_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel