diff options
| author | Linus Walleij <linusw@kernel.org> | 2026-09-02 09:55:53 +0200 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-02 12:56:02 +0100 |
| commit | 94c18cea657c48680e4ee20b635b6c01f3eb352e (patch) | |
| tree | c1142a55056e18db31eb5a2d53fb475c8833118a /scripts/Makefile.thinlto | |
| parent | 3415421a2b0bc4e32bb5a9df24ed7863512d47a7 (diff) | |
| download | linux-next-94c18cea657c48680e4ee20b635b6c01f3eb352e.tar.gz linux-next-94c18cea657c48680e4ee20b635b6c01f3eb352e.zip | |
ASoC: ux500: Correct MSP frame and bit clock setup
FRPER plus one is the number of bit clocks in a frame. It must follow
the configured slot count and width. The legacy rate-dependent
constants produce malformed frames; notably, a 16-slot, 16-bit frame
is programmed as 278 rather than 256 clocks.
Derive the frame period from the TDM geometry and use the real
functional clock rate. Validate that the requested bit clock has an
exact, representable divider, program SCKDIV as divider minus one, and
report the resulting bit clock using that same divisor.
Fixes: 3592b7f69a54 ("ASoC: Ux500: Add MSP I2S-driver")
Assisted-by: LLM
Signed-off-by: Linus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/20260902-ux500-msp-fixes-v2-3-4b60b002d55a@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
