]> www.infradead.org Git - users/dwmw2/linux.git/commit
ASoC: tegra: select CONFIG_SND_SIMPLE_CARD_UTILS
authorArnd Bergmann <arnd@arndb.de>
Fri, 19 Jul 2024 07:48:03 +0000 (09:48 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 22 Jul 2024 12:04:50 +0000 (13:04 +0100)
commit83340b855d222f257354afd272dc8d315fecc3ee
treedcc32a3313aa5d28f933ced8025f82e6dd91db5e
parent9931f7d5d251882a147cc5811060097df43e79f5
ASoC: tegra: select CONFIG_SND_SIMPLE_CARD_UTILS

This I2S client driver now uses functions exported from a helper module
but fails to link when the helper is disabled:

ERROR: modpost: "simple_util_parse_convert" [sound/soc/tegra/snd-soc-tegra210-i2s.ko] undefined!
ERROR: modpost: "simple_util_get_sample_fmt" [sound/soc/tegra/snd-soc-tegra210-i2s.ko] undefined!

Add a Kconfig select line to ensure it's always turned on here.

Fixes: 2502f8dd8c30 ("ASoC: tegra: I2S client convert formats handling")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Sameer Pujar <spujar@nvidia.com>
Link: https://patch.msgid.link/20240719074831.3253995-1-arnd@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/tegra/Kconfig