]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: snd-soc-lpass requires REGMAP_MMIO
authorBertrand Jacquin <bertrand@jacquin.bzh>
Thu, 3 Jun 2021 22:18:16 +0000 (23:18 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 4 Jun 2021 14:27:08 +0000 (15:27 +0100)
commite04523e799c7657da1f72f227ef8918ceded2dbe
treed9aedb72ade4885a871de823cee67469679f4626
parent93aa520d85ac4352ac94cbcea336491c7c931d4d
ASoC: snd-soc-lpass requires REGMAP_MMIO

With CONFIG_SND_SOC_LPASS_RX_MACRO=m and CONFIG_REGMAP_MMIO undefined,
build fails with the following error

  make -f /var/tmp/portage/sys-kernel/stable-sources-5.12.8/work/linux-5.12.8-stable/scripts/Makefile.modpost
    sed 's/\.ko$/\.o/' modules.order | scripts/mod/modpost   -E  -o modules-only.symvers -i vmlinux.symvers   -T -
  ERROR: modpost: "__devm_regmap_init_mmio_clk" [sound/soc/codecs/snd-soc-lpass-rx-macro.ko] undefined!

This does also apply to other Qualcomm Macro LPASS all making call to
devm_regmap_init_mmio()

Signed-off-by: Bertrand Jacquin <bertrand@jacquin.bzh>
Link: https://lore.kernel.org/r/20210603221816.2642402-1-bertrand@jacquin.bzh
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig