Skip to content

ASoC: meson: fix missing REGMAP_MMIO dependencies

Jude Gyimah linux-amlogic linux-arm-kernel linux-sound lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyIn review
  2. v14 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ASoC: meson: aiu: select REGMAP_MMIOsound/soc/meson/Kconfig+1 -00 replies
2/4ASoC: meson: axg-pdm: select REGMAP_MMIOsound/soc/meson/Kconfig+1 -00 replies
3/4ASoC: meson: axg-spdifin: select REGMAP_MMIOsound/soc/meson/Kconfig+1 -00 replies
4/4ASoC: meson: axg-spdifout: select REGMAP_MMIOsound/soc/meson/Kconfig+1 -00 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchJerome BrunetValerio Setti
1/4R-b R-b
2/4R-b R-b
3/4R-b R-b
4/4R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] ASoC: meson: fix missing REGMAP_MMIO dependencies

Each of these drivers can be built into vmlinux while the code providing a symbol it calls is a module, which fails to link. The same shape in 4 drivers, so they are here as one series.

Affected: aiu, axg-pdm, axg-spdifin, axg-spdifout.

The fix is a select rather than a depends on: the providers have no prompt of their own and are only ever enabled by a select, so a depends on would leave these drivers unselectable.

Each was reproduced on v7.3, arm64 by a vmlinux link that failed on the named symbol, and each links once the select is added.

Found with kreach, a static check that compares what Kconfig allows against the symbols the compiled objects actually reference.

The checker is at https://github.com/JGyimah/kreach, and the reproducer configuration for each finding is published with it under results/.

v2: Patch 2/4 opened with "These three do not" without saying
which three it meant. That sentence predated the aiu patch, and the context was only in the cover letter, which git am leaves out. As a result, the commit message didn't make sense on its own. Reported by sashiko-bot. No functional
change: all four Kconfig diffs are byte-for-byte identical to v1.

Jude Gyimah (4):
ASoC: meson: aiu: select REGMAP_MMIO
ASoC: meson: axg-pdm: select REGMAP_MMIO
ASoC: meson: axg-spdifin: select REGMAP_MMIO
ASoC: meson: axg-spdifout: select REGMAP_MMIO

 sound/soc/meson/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)
Signature · 1 line
2.43.0