diff options
| author | Linus Walleij <linusw@kernel.org> | 2026-09-02 09:55:54 +0200 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-02 12:56:04 +0100 |
| commit | 9ccbacf5a0120964fc1ffacb8151e3347bee9287 (patch) | |
| tree | 42af9ee502f068ea9f27a7c09e3c1580f3bba3f0 /scripts/Makefile.thinlto | |
| parent | 94c18cea657c48680e4ee20b635b6c01f3eb352e (diff) | |
| download | linux-next-9ccbacf5a0120964fc1ffacb8151e3347bee9287.tar.gz linux-next-9ccbacf5a0120964fc1ffacb8151e3347bee9287.zip | |
ASoC: ux500: Validate MSP DAI configuration
Installing channel constraints from hw_params is too late to affect the
parameters being committed. The driver consequently accepts channel
counts which disagree with the I2S or TDM setup. It also silently
truncates out-of-range slot masks and accepts inverted bit clock formats
which prepare then rejects.
Validate the selected channel count directly, reject invalid masks
before changing cached TDM state, and implement all four standard clock
and frame inversion combinations. Use the requested format in
validation diagnostics.
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-4-4b60b002d55a@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
