From: Lars-Peter Clausen <lars@metafoo.de>
To: Axel Lin <axel.lin@gmail.com>
Cc: alsa-devel@alsa-project.org,
Mark Brown <broonie@opensource.wolfsonmicro.com>,
Liam Girdwood <lrg@ti.com>
Subject: Re: [RFC][PATCH] ASoC: Fix build dependency for SND_SOC_JZ4740_CODEC
Date: Tue, 06 Dec 2011 09:55:45 +0100 [thread overview]
Message-ID: <4EDDD891.5090208@metafoo.de> (raw)
In-Reply-To: <1323157131.22557.2.camel@phoenix>
On 12/06/2011 08:38 AM, Axel Lin wrote:
> Currently SND_SOC_JZ4740_CODEC depends on SOC_JZ4740 but SOC_JZ4740 is not
> defined in any Kconfig. Thus the codec driver will not be built when select
> "Build all ASoC CODEC drivers".
> (Unless it is selected by SND_JZ4740_SOC_QI_LB60).
> Remove the dependency with SOC_JZ4740, then this code driver can be built when
> select "Build all ASoC CODEC drivers".
>
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
> ---
> I'm a little bit doubt if I should just remove the dependency as this patch does.
> Or alternatively make it depends on MACH_JZ4740.
> Comments?
MACH_JZ4740 was called SOC_JZ4740 at some point, seems like this one slipped
through the renaming. But since there is no compile time dependency on any
MACH_JZ4740 specific functionality it should be fine to remove the
dependency completely.
Thanks.
>
> Axel
> sound/soc/codecs/Kconfig | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
> index bc2364ac..7c205e7 100644
> --- a/sound/soc/codecs/Kconfig
> +++ b/sound/soc/codecs/Kconfig
> @@ -35,7 +35,7 @@ config SND_SOC_ALL_CODECS
> select SND_SOC_CX20442
> select SND_SOC_DA7210 if I2C
> select SND_SOC_DFBMCS320
> - select SND_SOC_JZ4740_CODEC if SOC_JZ4740
> + select SND_SOC_JZ4740_CODEC
> select SND_SOC_LM4857 if I2C
> select SND_SOC_MAX98088 if I2C
> select SND_SOC_MAX98095 if I2C
next prev parent reply other threads:[~2011-12-06 8:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-06 7:38 [RFC][PATCH] ASoC: Fix build dependency for SND_SOC_JZ4740_CODEC Axel Lin
2011-12-06 8:55 ` Lars-Peter Clausen [this message]
2011-12-06 11:01 ` Mark Brown
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=4EDDD891.5090208@metafoo.de \
--to=lars@metafoo.de \
--cc=alsa-devel@alsa-project.org \
--cc=axel.lin@gmail.com \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=lrg@ti.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.