Skip to content

make it possible to not compile compress APIs

Jie Yang alsa-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 10 repliesIn review
  2. v22 patches 22 repliesSuperseded
  3. v12 patches 10 repliesSuperseded

Changes in this version from the cover letter

1. change to use a callback for compress_new, and remove compress_dai bool.
2. remove the empty module_init/exit for soc-compress module.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ASoC: soc-compress: add a config item for soc-compressinclude/sound/soc-dai.h include/sound/soc.h sound/soc/Kconfig +5 more+18 -65 replies
2/2ASoC: soc-compress: split soc-compress to a modulesound/soc/Makefile sound/soc/soc-compress.c sound/soc/soc-dapm.c +1 more+25 -35 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] make it possible to not compile compress APIs

Compress APIs are not always needed, but they are always built currentlly, in both ALSA core and ASoC core.

This series make it possible to not compile it when unneeded.

Hi, Takashi & all,

I am not sure you will like the patch 2/2, it split soc-compress to a module, but introduced several extra 'EXPORT_SYMBOL_GPL' there. If don't like it, you can just apply the first one(1/2) and skip 2/2.

thanks,
~Keyon

Changes in this version:
1. change to use a callback for compress_new, and remove compress_dai bool.
2. remove the empty module_init/exit for soc-compress module.

Jie Yang (2):
ASoC: soc-compress: add a config item for soc-compress
ASoC: soc-compress: split soc-compress to a module

 include/sound/soc-dai.h                      |  2 +-
 include/sound/soc.h                          |  2 ++
 sound/soc/Kconfig                            |  6 +++++-
 sound/soc/Makefile                           |  5 ++++-
 sound/soc/intel/Kconfig                      |  1 +
 sound/soc/intel/atom/sst-mfld-platform-pcm.c |  2 +-
 sound/soc/soc-compress.c                     | 10 ++++++++++
 sound/soc/soc-core.c                         |  4 ++--
 sound/soc/soc-dapm.c                         |  1 +
 sound/soc/soc-pcm.c                          | 13 +++++++++++++
 10 files changed, 40 insertions(+), 6 deletions(-)
Signature · 1 line
1.9.1