summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorRichard Fitzgerald <rf@opensource.cirrus.com>2026-09-10 12:44:59 +0100
committerMark Brown <broonie@kernel.org>2026-09-14 00:37:41 +0100
commit290845e151cd4e307cc1f25319583aaceb4eeb30 (patch)
tree1c3b437e8c74206a0d8394f66ead57ad1ddec6f5 /scripts/objdiff
parent6b382bdfe26a2232091bf743e454e6794295783e (diff)
downloadlinux-290845e151cd4e307cc1f25319583aaceb4eeb30.tar.gz
linux-290845e151cd4e307cc1f25319583aaceb4eeb30.zip
ASoC: sdw_utils: Set snd_soc_dai_link_ch_map.codec_ch_mask for capture
In asoc_sdw_hw_params() set the codec_ch_mask member of struct snd_soc_dai_link_ch_map for capture streams. ASoC will then pass the correct number of channels to each codec hw_params(). This prevents trying to enable more channels on the codec DP than have been allocated bitslots in the SoundWire frame, which would cause bus clash errors. In theory codec_ch_mask could also be set for playback streams, but for those the CPU is the only sender so there is no risk of bus clash. For playback streams codec_ch_mask is set to 0 to preserve the existing behavior and avoid introducing bugs. Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> Link: https://patch.msgid.link/20260910114500.1586637-5-rf@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions