Revision 1c0d023c8c2f7c56750a3d58207b263a39d39554 authored by Ranjani Sridharan on 15 May 2023, 08:52:00 UTC, committed by Mark Brown on 15 May 2023, 11:10:18 UTC
The memory allocated for the tuples array assumes that there's 1
instance of all tokens already. So for those tokens that have multiple
instances in topology, we need to exclude the initial instance that has
already been accounted for.

Fixes: 4fdef47a44d6 ("ASoC: SOF: ipc4-topology: Add new tokens for input/output pin format count")
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com
Link: https://lore.kernel.org/r/20230515085200.17094-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org
1 parent be3c215
History
File Mode Size
google
keystone
nwfpe
omap
pxa
sa1100
samsung
spear
sti
stm32
sunxi
vfp
arm.rst -rw-r--r-- 7.7 KB
booting.rst -rw-r--r-- 7.9 KB
cluster-pm-race-avoidance.rst -rw-r--r-- 16.3 KB
features.rst -rw-r--r-- 90 bytes
firmware.rst -rw-r--r-- 2.3 KB
index.rst -rw-r--r-- 1.1 KB
interrupts.rst -rw-r--r-- 6.7 KB
ixp4xx.rst -rw-r--r-- 6.3 KB
kernel_mode_neon.rst -rw-r--r-- 5.6 KB
kernel_user_helpers.rst -rw-r--r-- 6.7 KB
marvell.rst -rw-r--r-- 24.0 KB
mem_alignment.rst -rw-r--r-- 2.6 KB
memory.rst -rw-r--r-- 3.7 KB
microchip.rst -rw-r--r-- 6.2 KB
netwinder.rst -rw-r--r-- 1.8 KB
porting.rst -rw-r--r-- 4.4 KB
setup.rst -rw-r--r-- 3.6 KB
sunxi.rst -rw-r--r-- 4.2 KB
swp_emulation.rst -rw-r--r-- 1.2 KB
tcm.rst -rw-r--r-- 5.1 KB
uefi.rst -rw-r--r-- 2.9 KB
vlocks.rst -rw-r--r-- 6.7 KB

back to top