From: y00444492 <yebin10@huawei.com>
To: broonie@opensource.wolfsonmicro.com, codrin.ciubotariu@microchip.com
Cc: alsa-devel@alsa-project.org, Ye Bin <yebin10@huawei.com>,
linux-sound@vger.kernel.org
Subject: [PATCH] ASoC: atmel-pcm: Fix build error
Date: Sun, 19 Jan 2020 02:03:20 +0000 [thread overview]
Message-ID: <20200119020320.27075-1-yebin10@huawei.com> (raw)
From: Ye Bin <yebin10@huawei.com>
If SND_ATMEL_SOC_SSC is y and SND_ATMEL_SOC_PDC is m, building fails:
sound/soc/atmel/atmel_ssc_dai.o: In function `atmel_ssc_set_audio':
(.text+0x6f6): undefined reference to `atmel_pcm_pdc_platform_register'
Select SND_ATMEL_SOC_PDC to fix this.
Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: 92dfa6198623 ("ASoC: atmel-pcm: split into two file")
Signed-off-by: Ye Bin <yebin10@huawei.com>
---
sound/soc/atmel/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/atmel/Kconfig b/sound/soc/atmel/Kconfig
index f118c229ed82..78e7d40c3c24 100644
--- a/sound/soc/atmel/Kconfig
+++ b/sound/soc/atmel/Kconfig
@@ -19,11 +19,11 @@ config SND_ATMEL_SOC_DMA
config SND_ATMEL_SOC_SSC
tristate
+ select SND_ATMEL_SOC_PDC
config SND_ATMEL_SOC_SSC_PDC
tristate "SoC PCM DAI support for AT91 SSC controller using PDC"
depends on ATMEL_SSC
- select SND_ATMEL_SOC_PDC
select SND_ATMEL_SOC_SSC
help
Say Y or M if you want to add support for Atmel SSC interface
--
2.17.2
reply other threads:[~2020-01-19 2:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20200119020320.27075-1-yebin10@huawei.com \
--to=yebin10@huawei.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=codrin.ciubotariu@microchip.com \
--cc=linux-sound@vger.kernel.org \
/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