summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorLinus Walleij <linusw@kernel.org>2026-08-31 22:29:09 +0200
committerMark Brown <broonie@kernel.org>2026-08-31 22:14:48 +0100
commit85cef7e2004ef5c1a715feaddb55d3f3d27bac0a (patch)
tree929d99bf6d21f9cde5cc17426e4e39e8f4136c61 /scripts/Makefile.thinlto
parentf98785adf004db6b1c9f4cea9dadae7b800db72f (diff)
downloadlinux-next-85cef7e2004ef5c1a715feaddb55d3f3d27bac0a.tar.gz
linux-next-85cef7e2004ef5c1a715feaddb55d3f3d27bac0a.zip
ASoC: ab8500: Validate and program TDM slots correctly
The interface clock ratio is selected from the slot count alone, ffs() and fls() produce one-based hardware slot numbers, eight-channel mode does not program any mappings, and all register errors are ignored. Invalid masks can also leave a partially programmed interface. Validate the complete configuration first, derive the supported BCLK ratio from slots times slot width, use zero-based slot indices, program deterministic eight-channel maps, and propagate register failures. Fixes: 679d7abdc754 ("ASoC: codecs: Add AB8500 codec-driver") Assisted-by: LLM Signed-off-by: Linus Walleij <linusw@kernel.org> Link: https://patch.msgid.link/20260831-ab8500-codec-fixes-v1-4-f85024e717e3@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions