summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorRichard Fitzgerald <rf@opensource.cirrus.com>2026-09-10 12:44:57 +0100
committerMark Brown <broonie@kernel.org>2026-09-14 00:37:41 +0100
commit88b14c0d0bab5c0f3e7c641f274e3c70210c0e36 (patch)
tree62d13646fdb03023db8549c15a47aa99549a266d /scripts/Makefile.thinlto
parent4d855d747521505b54457c96bc73577bf74b2374 (diff)
downloadlinux-stable-88b14c0d0bab5c0f3e7c641f274e3c70210c0e36.tar.gz
linux-stable-88b14c0d0bab5c0f3e7c641f274e3c70210c0e36.zip
ASoC: Add codec_ch_mask to snd_soc_dai_link_ch_map
Add a codec_ch_mask member to snd_soc_dai_link_ch_map. The CPU and codec channel masks are not necessarily the same, and are quite likely different. SoundWire and I2S/TDM both support assigning different sample slots to each codec, so for example channel 0 on each codec could map to different channels at the CPU. It is also possible for one TX channel to map to multiple RX channels. So it isn't _always_ safe to assume that the total number of set bits in the CPU ch_mask is the same as the total number of enabled channels on the codec. For example consider this mapping on a capture stream: CPU0 CODEC0 cpu_ch_mask = 0x03 CPU1 CODEC0 cpu_ch_mask = 0x03 This could be either four TX channels on the codec split across two receiving CPUs, or two TX channels on the codec duplicated to two CPUs. Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> Link: https://patch.msgid.link/20260910114500.1586637-3-rf@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions