Skip to content

ASoC: fsl: fix missing GENERIC_BITREVERSE and REGMAP_MMIO dependencies

Jude Gyimah linux-sound lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ASoC: fsl_aud2htx: select missing dependenciessound/soc/fsl/Kconfig+2 -00 replies
2/3ASoC: fsl: lpc3xxx-i2s: select REGMAP_MMIOsound/soc/fsl/Kconfig+1 -00 replies
3/3ASoC: fsl_xcvr: select BITREVERSEsound/soc/fsl/Kconfig+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] ASoC: fsl: fix missing GENERIC_BITREVERSE and 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 3 drivers, so they are here as one series.

Affected: fsl_aud2htx, fsl_xcvr, lpc3xxx-i2s.

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, x86_64, 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/.

Jude Gyimah (3):
ASoC: fsl_aud2htx: select missing dependencies
ASoC: fsl: lpc3xxx-i2s: select REGMAP_MMIO
ASoC: fsl_xcvr: select BITREVERSE

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