aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorRanjani Sridharan <[email protected]>2023-05-15 11:52:00 +0300
committerMark Brown <[email protected]>2023-05-15 20:10:18 +0900
commit1c0d023c8c2f7c56750a3d58207b263a39d39554 (patch)
tree223ad5ad35c9727bba9782fe307a7d8fb71784cf /lib/mpi/mpi-mod.c
parentbe3c215342956313845308e0e631341e62370a2b (diff)
ASoC: SOF: topology: Fix tuples array allocation
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 <[email protected] Reviewed-by: Pierre-Louis Bossart <[email protected] Reviewed-by: Bard Liao <[email protected] Signed-off-by: Peter Ujfalusi <[email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions