diff mbox

ASoC: rk3036: fix missing dependency on REGMAP_MMIO

Message ID 1453742610-23418-1-git-send-email-ao2@ao2.it (mailing list archive)
State Accepted
Commit 7315917f7ccdf5eb5758f663a781daa7599d63d7
Headers show

Commit Message

Antonio Ospite Jan. 25, 2016, 5:23 p.m. UTC
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@ao2.it>
Cc: ZhengShunQian <zhengsq@rock-chips.com>
Cc: Mark Brown <broonie@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 mbox

Patch

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