From: Nicolin Chen <nicoleotsuka@gmail.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>,
alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org,
"Maciej S. Szmigiero" <mail@maciej.szmigiero.name>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>
Subject: Re: [PATCH] ASoC: fsl: clarify ac97 dependency
Date: Tue, 24 Nov 2015 14:50:21 -0800 [thread overview]
Message-ID: <20151124225021.GA4600@Asurada-CZ80> (raw)
In-Reply-To: <2830784.Nrm81IgjTt@wuerfel>
On Tue, Nov 24, 2015 at 11:21:10PM +0100, Arnd Bergmann wrote:
> A new randconfig build failure shows that the fsl-asoc-card module
> must not be built-in when the AC97 driver is a loadable module:
>
> sound/built-in.o: In function `fsl_asoc_card_late_probe':
> :(.text+0x571d8): undefined reference to `snd_ac97_update_bits'
>
> I couldn't come up with a nice solution, so this adds another dependency
> on "X || !X", which is the Kconfig way of saying that we have an
> optional dependency on something that might be a loadable module.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Thank you
> Fixes: 50760cad9de9 ("ASoC: fsl-asoc-card: add AC'97 support")
> ---
> The commit that introduced this was merged for 4.4-rc1, so we might
> want the fix to go into 4.4 as well.
>
> diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig
> index 19c302b0d763..14dfdee05fd5 100644
> --- a/sound/soc/fsl/Kconfig
> +++ b/sound/soc/fsl/Kconfig
> @@ -283,6 +283,8 @@ config SND_SOC_IMX_MC13783
> config SND_SOC_FSL_ASOC_CARD
> tristate "Generic ASoC Sound Card with ASRC support"
> depends on OF && I2C
> + # enforce SND_SOC_FSL_ASOC_CARD=m if SND_AC97_CODEC=m:
> + depends on SND_AC97_CODEC || SND_AC97_CODEC=n
> select SND_SOC_IMX_AUDMUX
> select SND_SOC_IMX_PCM_DMA
> select SND_SOC_FSL_ESAI
>
next prev parent reply other threads:[~2015-11-24 22:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-24 22:21 [PATCH] ASoC: fsl: clarify ac97 dependency Arnd Bergmann
2015-11-24 22:50 ` Nicolin Chen [this message]
2015-11-25 12:11 ` Applied "ASoC: fsl: clarify ac97 dependency" to the asoc tree 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=20151124225021.GA4600@Asurada-CZ80 \
--to=nicoleotsuka@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=arnd@arndb.de \
--cc=broonie@kernel.org \
--cc=fabio.estevam@freescale.com \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mail@maciej.szmigiero.name \
/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