[v2] ASoC: msm8916-wcd-digital: Select REGMAP_MMIO to fix build error
diff mbox series

Message ID 20190111102040.11596-1-axel.lin@ingics.com
State Accepted
Commit 5b86fa6d2903c41c3c3dbff4def76a5b8bbe0660
Headers show
Series
  • [v2] ASoC: msm8916-wcd-digital: Select REGMAP_MMIO to fix build error
Related show

Commit Message

Axel Lin Jan. 11, 2019, 10:20 a.m. UTC
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@ingics.com>
---
v2: select REGMAP_MMIO is for SND_SOC_MSM8916_WCD_DIGITAL, not SND_SOC_MSM8916_WCD_ANALOG.
 sound/soc/codecs/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Srinivas Kandagatla Jan. 14, 2019, 1:53 p.m. UTC | #1
Thanks for the Patch!

On 11/01/2019 10:20, Axel Lin wrote:
> 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@ingics.com>


Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>

Patch
diff mbox series

diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 87cb9c51e6f5..17049b9bc178 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -706,6 +706,7 @@  config SND_SOC_MSM8916_WCD_ANALOG
 
 config SND_SOC_MSM8916_WCD_DIGITAL
 	tristate "Qualcomm MSM8916 WCD DIGITAL Codec"
+	select REGMAP_MMIO
 
 config SND_SOC_PCM1681
 	tristate "Texas Instruments PCM1681 CODEC"