Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jie Yang <yang.jie@intel.com>
To: broonie@kernel.org
Cc: alsa-devel@alsa-project.org, liam.r.girdwood@intel.com
Subject: [PATCH v3 0/2] make it possible to not compile compress APIs
Date: Tue, 13 Oct 2015 17:11:02 +0800	[thread overview]
Message-ID: <1444727464-10385-1-git-send-email-yang.jie@intel.com> (raw)

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(-)

-- 
1.9.1

             reply	other threads:[~2015-10-13  9:05 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-13  9:11 Jie Yang [this message]
2015-10-13  9:11 ` [PATCH v3 1/2] ASoC: soc-compress: add a config item for soc-compress Jie Yang
2015-10-13  9:25   ` Liam Girdwood
2015-10-13 12:15     ` Jie, Yang
2015-10-13  9:32   ` Takashi Iwai
2015-10-13 12:31     ` Jie, Yang
2015-10-13 14:05       ` Takashi Iwai
2015-10-13  9:11 ` [PATCH v3 2/2] ASoC: soc-compress: split soc-compress to a module Jie Yang
2015-10-13 11:49   ` Koul, Vinod
2015-10-13 12:42     ` Jie, Yang
2015-10-13 13:03       ` Liam Girdwood
2015-10-13 14:19       ` Takashi Iwai
2015-10-13 15:43         ` Jie, Yang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1444727464-10385-1-git-send-email-yang.jie@intel.com \
    --to=yang.jie@intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=liam.r.girdwood@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox