mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -next] ASoC: codecs: wcd934x: Fix Kconfig dependency
@ 2022-09-26  7:40 Ren Zhijie
  2022-09-26  7:51 ` Krzysztof Kozlowski
  2022-09-27 11:20 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Ren Zhijie @ 2022-09-26  7:40 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, ckeepax, krzysztof.kozlowski,
	tanureal, james.schulman, cy_huang, flatmax,
	pierre-louis.bossart, lukas.bulwahn, srinivas.kandagatla
  Cc: alsa-devel, linux-kernel, Ren Zhijie

If CONFIG_REGMAP_SLIMBUS is not set,
make ARCH=x86_64 CROSS_COMPILE=x86_64-linux-gnu-,
will be failed, like this:

sound/soc/codecs/wcd934x.o: In function `wcd934x_codec_probe':
wcd934x.c:(.text+0x3310): undefined reference to `__regmap_init_slimbus'
make: *** [vmlinux] Error 1

Add select REGMAP_SLIMBUS to config SND_SOC_WCD934X.

Fixes: a61f3b4f476e ("ASoC: wcd934x: add support to wcd9340/wcd9341 codec")
Signed-off-by: Ren Zhijie <renzhijie2@huawei.com>
---
 sound/soc/codecs/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 444cee829a26..e3b90c425faf 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -1757,6 +1757,7 @@ config SND_SOC_WCD934X
 	tristate "WCD9340/WCD9341 Codec"
 	depends on COMMON_CLK
 	depends on SLIMBUS
+	select REGMAP_SLIMBUS
 	select SND_SOC_WCD_MBHC
 	depends on MFD_WCD934X || COMPILE_TEST
 	help
-- 
2.17.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH -next] ASoC: codecs: wcd934x: Fix Kconfig dependency
  2022-09-26  7:40 [PATCH -next] ASoC: codecs: wcd934x: Fix Kconfig dependency Ren Zhijie
@ 2022-09-26  7:51 ` Krzysztof Kozlowski
  2022-09-27 11:20 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2022-09-26  7:51 UTC (permalink / raw)
  To: Ren Zhijie, lgirdwood, broonie, perex, tiwai, ckeepax, tanureal,
	james.schulman, cy_huang, flatmax, pierre-louis.bossart,
	lukas.bulwahn, srinivas.kandagatla
  Cc: alsa-devel, linux-kernel

On 26/09/2022 09:40, Ren Zhijie wrote:
> If CONFIG_REGMAP_SLIMBUS is not set,
> make ARCH=x86_64 CROSS_COMPILE=x86_64-linux-gnu-,
> will be failed, like this:
> 
> sound/soc/codecs/wcd934x.o: In function `wcd934x_codec_probe':
> wcd934x.c:(.text+0x3310): undefined reference to `__regmap_init_slimbus'
> make: *** [vmlinux] Error 1
> 
> Add select REGMAP_SLIMBUS to config SND_SOC_WCD934X.
> 
> Fixes: a61f3b4f476e ("ASoC: wcd934x: add support to wcd9340/wcd9341 codec")
> Signed-off-by: Ren Zhijie <renzhijie2@huawei.com>


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH -next] ASoC: codecs: wcd934x: Fix Kconfig dependency
  2022-09-26  7:40 [PATCH -next] ASoC: codecs: wcd934x: Fix Kconfig dependency Ren Zhijie
  2022-09-26  7:51 ` Krzysztof Kozlowski
@ 2022-09-27 11:20 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2022-09-27 11:20 UTC (permalink / raw)
  To: cy_huang, perex, ckeepax, james.schulman, tiwai, Ren Zhijie,
	lukas.bulwahn, flatmax, pierre-louis.bossart, tanureal,
	srinivas.kandagatla, lgirdwood, krzysztof.kozlowski
  Cc: alsa-devel, linux-kernel

On Mon, 26 Sep 2022 07:40:42 +0000, Ren Zhijie wrote:
> If CONFIG_REGMAP_SLIMBUS is not set,
> make ARCH=x86_64 CROSS_COMPILE=x86_64-linux-gnu-,
> will be failed, like this:
> 
> sound/soc/codecs/wcd934x.o: In function `wcd934x_codec_probe':
> wcd934x.c:(.text+0x3310): undefined reference to `__regmap_init_slimbus'
> make: *** [vmlinux] Error 1
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: codecs: wcd934x: Fix Kconfig dependency
      commit: 4d73b97b8dbaf09af6e5878ce3288ba93956a3fd

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-09-27 11:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-26  7:40 [PATCH -next] ASoC: codecs: wcd934x: Fix Kconfig dependency Ren Zhijie
2022-09-26  7:51 ` Krzysztof Kozlowski
2022-09-27 11:20 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®