summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2026-09-14 00:37:42 +0100
committerMark Brown <broonie@kernel.org>2026-09-14 00:37:42 +0100
commit0cde044bc4768203ae70840eafe9df1290d8cb22 (patch)
treef880e72c75475630068a9aa88ee6c11e028b7273 /scripts
parentd56fe35c1bce1f547eb600695f60c139a508ff6e (diff)
parentb5b00a57868b1eabdf90a29a51f0eb732c609f3a (diff)
downloadlinux-0cde044bc4768203ae70840eafe9df1290d8cb22.tar.gz
linux-0cde044bc4768203ae70840eafe9df1290d8cb22.zip
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')
0 files changed, 0 insertions, 0 deletions