From: Takashi Iwai <tiwai@suse.de>
To: Mark Brown <broonie@kernel.org>
Cc: vivian.zhang@intel.com, alsa-devel@alsa-project.org,
liam.r.girdwood@intel.com
Subject: Re: [PATCH] ASoC: add config to enable/disable asoc compress
Date: Tue, 02 Jun 2015 14:01:23 +0200 [thread overview]
Message-ID: <s5hlhg2e2uk.wl-tiwai@suse.de> (raw)
In-Reply-To: <20150602105814.GM14071@sirena.org.uk>
At Tue, 2 Jun 2015 11:58:14 +0100,
Mark Brown wrote:
>
> On Sat, May 30, 2015 at 09:28:31PM +0800, Jie Yang wrote:
>
> > +ifneq ($(CONFIG_SND_SOC_COMPRESS),)
> > +snd-soc-core-objs += soc-compress.o
> > +endif
>
> If you want to make this optional why not make it a module so that the
> Makefile looks more idiomatic?
Only about Makefile, it can be simplified like
snd-soc-core-$(CONFIG_SND_SOC_COMPRESS) += soc-compress.o
But I agree with Mark. It would make more sense to split a module, as
soc-compress.c isn't so small. For a small object, it's often better
to keep in, as a module consumes more memory (it needs a page size).
For a large size object, it's worth to consider to split.
Takashi
next prev parent reply other threads:[~2015-06-02 12:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-30 13:28 [PATCH] ASoC: add config to enable/disable asoc compress Jie Yang
2015-06-02 10:58 ` Mark Brown
2015-06-02 12:01 ` Takashi Iwai [this message]
2015-06-03 5:30 ` 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=s5hlhg2e2uk.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=liam.r.girdwood@intel.com \
--cc=vivian.zhang@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