diff options
| author | 2026-09-14 00:37:42 +0100 | |
|---|---|---|
| committer | 2026-09-14 00:37:42 +0100 | |
| commit | 0cde044bc4768203ae70840eafe9df1290d8cb22 (patch) | |
| tree | f880e72c75475630068a9aa88ee6c11e028b7273 /scripts/Makefile.thinlto | |
| parent | ASoC: rt712-sdca: reconfigure PLL2 to fix calibration time-out (diff) | |
| parent | ASoC: sdw_utils: cs_amp: Delete bogus and incorrect capture channel fixup (diff) | |
ASoC: Fix missing channel fixup for codec end of ch_map
Richard Fitzgerald <rf@opensource.cirrus.com> says:
Struct snd_soc_dai_link_ch_map had a single mask member to set the
CPU channel masks. But no fixup was done to the codec end of the link.
For example if a 4-channel CPU capture DAI was made from two codecs both
supplying 2 channels, the hw_params() of the codec would be passed a
channel count of 4.
On SoundWire this could cause multiple codecs to send data in the same
bits of a frame because the unused channels were not disabled.
The changes in this series are:
- Separate channel masks for CPU and codec in struct
snd_soc_dai_link_ch_map .
- Apply the codec channel mask as a channel count fixup if the machine
drive has not set a TDM mask.
- Set the codec channel mask in the SoundWire machine driver.
- Remove the workaround from the cs_amp machine driver.
Link: https://patch.msgid.link/20260910114500.1586637-1-rf@opensource.cirrus.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
