From: Ranjani Sridharan Date: Fri, 12 May 2023 11:46:30 +0000 (+0300) Subject: ASoC: SOF: topology: Fix logic for copying tuples X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=41c5305cc3d827d2ea686533777a285176ae01a0;p=linux.git ASoC: SOF: topology: Fix logic for copying tuples Topology could have more instances of the tokens being searched for than the number of sets that need to be copied. Stop copying token after the limit of number of token instances has been reached. This worked before only by chance as we had allocated more size for the tuples array than the number of actual tokens being parsed. Fixes: 7006d20e5e9d ("ASoC: SOF: Introduce IPC3 ops") Signed-off-by: Ranjani Sridharan