Commit e78f36bc authored by Bertrand Jacquin's avatar Bertrand Jacquin Committed by Mark Brown

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: default avatarBertrand Jacquin <bertrand@jacquin.bzh>
Link: https://lore.kernel.org/r/20210603221816.2642402-1-bertrand@jacquin.bzhSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 50d79001
...@@ -1882,18 +1882,22 @@ config SND_SOC_TPA6130A2 ...@@ -1882,18 +1882,22 @@ config SND_SOC_TPA6130A2
config SND_SOC_LPASS_WSA_MACRO config SND_SOC_LPASS_WSA_MACRO
depends on COMMON_CLK depends on COMMON_CLK
select REGMAP_MMIO
tristate "Qualcomm WSA Macro in LPASS(Low Power Audio SubSystem)" tristate "Qualcomm WSA Macro in LPASS(Low Power Audio SubSystem)"
config SND_SOC_LPASS_VA_MACRO config SND_SOC_LPASS_VA_MACRO
depends on COMMON_CLK depends on COMMON_CLK
select REGMAP_MMIO
tristate "Qualcomm VA Macro in LPASS(Low Power Audio SubSystem)" tristate "Qualcomm VA Macro in LPASS(Low Power Audio SubSystem)"
config SND_SOC_LPASS_RX_MACRO config SND_SOC_LPASS_RX_MACRO
depends on COMMON_CLK depends on COMMON_CLK
select REGMAP_MMIO
tristate "Qualcomm RX Macro in LPASS(Low Power Audio SubSystem)" tristate "Qualcomm RX Macro in LPASS(Low Power Audio SubSystem)"
config SND_SOC_LPASS_TX_MACRO config SND_SOC_LPASS_TX_MACRO
depends on COMMON_CLK depends on COMMON_CLK
select REGMAP_MMIO
tristate "Qualcomm TX Macro in LPASS(Low Power Audio SubSystem)" tristate "Qualcomm TX Macro in LPASS(Low Power Audio SubSystem)"
endmenu endmenu
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment