[alsa-devel] [PATCH] ASoC: rk3036: fix missing dependency on REGMAP_MMIO

Antonio Ospite ao2 at ao2.it
Mon Jan 25 18:23:30 CET 2016


When SND_SOC_INNO_RK3036 is enabled but REGMAP_MMIO is not, the MODPOST
step fails with this error:

  ...
  Kernel: arch/x86/boot/bzImage is ready  (#3)
    Building modules, stage 2.
    MODPOST 3203 modules
  ERROR: "__devm_regmap_init_mmio_clk" [sound/soc/codecs/snd-soc-inno-rk3036.ko] undefined!

Signed-off-by: Antonio Ospite <ao2 at ao2.it>
Cc: ZhengShunQian <zhengsq at rock-chips.com>
Cc: Mark Brown <broonie at kernel.org>
---

Hi,

I enabled SND_SOC_INNO_RK3036 by chance in 4.5-rc1 and the build failed.
The patch below allows the kernel to be configured in a buildable way.

Ciao ciao,
   Antonio

 sound/soc/codecs/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 50693c8..1f7eaa9 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -497,6 +497,7 @@ config SND_SOC_ICS43432
 
 config SND_SOC_INNO_RK3036
 	tristate "Inno codec driver for RK3036 SoC"
+	select REGMAP_MMIO
 
 config SND_SOC_ISABELLE
         tristate
-- 
2.7.0



More information about the Alsa-devel mailing list