diff options
| author | Janne Grunau <j@jannau.net> | 2026-11-10 17:46:46 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-11-11 01:55:41 +0000 |
| commit | d9bcb20e403908415809c37b96db4c9d651298cc (patch) | |
| tree | 6377f7b3c97c8ab9c5b6e90c90b45df9dc202bf8 /scripts/objdiff | |
| parent | d00ba321499c0050872d70c41d86069f1d52c248 (diff) | |
ASoC: apple: mca: Fix clock selection for clock consumer FEs
In commit 00309bfb1f54 ("ASoC: apple: mca: Support FEs being clock
consumers") the syncgen clock selection was misunderstood resulting in
selecting a random clock. In the capture on multiple BEs for IV sense
data use case the configuration worked partially by sheer luck. On
Macbook Pro's with 6 speakers it could result in desync IV sense data
triggered likely by sample rate changes.
When the FE is a clock consumer select the clock of first used BE as
SYNCGEN_MCLK.
Add function like macros to determine the clock index based on the FE or
BE number.
This is functionally equivalent to the state sent in v2 of "ASoC: apple:
mca: support simultaneous I2S capture on the frontend" in [1].
Link: https://lore.kernel.org/all/20260628-apple-audio-redux-v2-4-6328269c9652@gmail.com/ [1]
Fixes: 00309bfb1f54 ("ASoC: apple: mca: Support FEs being clock consumers")
Fixes: 108a14b20f95 ("ASoC: apple: mca: Support capture on multiples BEs")
Signed-off-by: Janne Grunau <j@jannau.net>
Link: https://patch.msgid.link/20261110-snd-soc-apple-mca-capture-multiple-be-v1-1-d9569a8374c5@jannau.net
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
