[alsa-devel] [PATCH] ASoC: msm8916-wcd-digital: Select REGMAP_MMIO to fix build error

Axel Lin axel.lin at ingics.com
Fri Jan 11 11:06:33 CET 2019


Fix below build error:
ERROR: "__devm_regmap_init_mmio_clk" [sound/soc/codecs/snd-soc-msm8916-digital.ko] undefined!

Signed-off-by: Axel Lin <axel.lin at ingics.com>
---
 sound/soc/codecs/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 87cb9c51e6f5..45884859229f 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -703,6 +703,7 @@ config SND_SOC_MAX9860
 config SND_SOC_MSM8916_WCD_ANALOG
 	tristate "Qualcomm MSM8916 WCD Analog Codec"
 	depends on SPMI || COMPILE_TEST
+	select REGMAP_MMIO
 
 config SND_SOC_MSM8916_WCD_DIGITAL
 	tristate "Qualcomm MSM8916 WCD DIGITAL Codec"
-- 
2.17.1



More information about the Alsa-devel mailing list