diff options
| author | Jude Gyimah <jude.gyimah87@gmail.com> | 2026-11-03 14:25:37 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-11-03 23:26:13 +0000 |
| commit | 67a7e2073909e948c3cbd86c28d17e86c2958dd6 (patch) | |
| tree | 15a7dcb9204259b2a851dbba464c2c1abd970217 /scripts/stackusage | |
| parent | 829904994e7a54fa89cf550e50dbcd58a09602eb (diff) | |
ASoC: rockchip_spdif: select REGMAP_MMIO
rockchip_spdif calls __devm_regmap_init_mmio_clk, which
drivers/base/regmap/regmap-mmio.c provides under REGMAP_MMIO.
rockchip_spdif.c:(.text+0xf67): undefined reference to
`__devm_regmap_init_mmio_clk'
The driver can be built into vmlinux while REGMAP_MMIO is a module, in
which case the symbol is not there at link time.
Select rather than depend on: REGMAP_MMIO has no prompt of its own and is
only ever enabled by a select, so a depends on would leave
SND_SOC_ROCKCHIP_SPDIF unselectable.
Reproduced on v7.3, x86_64, with CONFIG_SND_SOC_ROCKCHIP_SPDIF=y and
CONFIG_REGMAP_MMIO=m.
Found with kreach, a static check that compares what Kconfig allows
against the symbols the compiled objects actually reference.
Fixes: f874b80e1571 ("ASoC: rockchip: Add rockchip SPDIF transceiver driver")
Signed-off-by: Jude Gyimah <jude.gyimah87@gmail.com>
Link: https://patch.msgid.link/20261103132537.3717496-6-jude.gyimah87@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
