Răsfoiți Sursa

ASoC: rk3036: fix missing dependency on REGMAP_MMIO

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>
Signed-off-by: Mark Brown <broonie@kernel.org>
Antonio Ospite 9 ani în urmă
părinte
comite
7315917f7c
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      sound/soc/codecs/Kconfig

+ 1 - 0
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