diff options
author | Ranjani Sridharan <[email protected]> | 2023-05-15 11:52:00 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-05-15 20:10:18 +0900 |
commit | 1c0d023c8c2f7c56750a3d58207b263a39d39554 (patch) | |
tree | 223ad5ad35c9727bba9782fe307a7d8fb71784cf /drivers/fpga/fpga-mgr.c | |
parent | be3c215342956313845308e0e631341e62370a2b (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 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions