mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/4] ASoC: meson: fix missing REGMAP_MMIO dependencies
@ 2026-11-09 15:41 Jude Gyimah
  2026-11-09 15:41 ` [PATCH v2 1/4] ASoC: meson: aiu: select REGMAP_MMIO Jude Gyimah
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jude Gyimah @ 2026-11-09 15:41 UTC (permalink / raw)
  To: jbrunet, lgirdwood, broonie, perex, tiwai
  Cc: neil.armstrong, khilman, martin.blumenstingl, linux-sound,
	linux-amlogic, linux-arm-kernel, linux-kernel, Jude Gyimah

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(+)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-11-09 15:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-09 15:41 [PATCH v2 0/4] ASoC: meson: fix missing REGMAP_MMIO dependencies Jude Gyimah
2026-11-09 15:41 ` [PATCH v2 1/4] ASoC: meson: aiu: select REGMAP_MMIO Jude Gyimah
2026-11-09 15:41 ` [PATCH v2 2/4] ASoC: meson: axg-pdm: " Jude Gyimah
2026-11-09 15:41 ` [PATCH v2 3/4] ASoC: meson: axg-spdifin: " Jude Gyimah
2026-11-09 15:41 ` [PATCH v2 4/4] ASoC: meson: axg-spdifout: " Jude Gyimah

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®