summaryrefslogtreecommitdiffstats
path: root/scripts/setlocalversion
diff options
context:
space:
mode:
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>2023-05-12 13:46:30 +0200
committerMark Brown <broonie@kernel.org>2023-05-15 03:21:15 +0200
commit41c5305cc3d827d2ea686533777a285176ae01a0 (patch)
treec2aa17b9f63ad771e63ef21f0dce5a4b387e9ea3 /scripts/setlocalversion
parentASoC: SOF: pm: save io region state in case of errors in resume (diff)
downloadlinux-41c5305cc3d827d2ea686533777a285176ae01a0.tar.xz
linux-41c5305cc3d827d2ea686533777a285176ae01a0.zip
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 <ranjani.sridharan@linux.intel.com Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com Link: https://lore.kernel.org/r/20230512114630.24439-1-peter.ujfalusi@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org
Diffstat (limited to 'scripts/setlocalversion')
0 files changed, 0 insertions, 0 deletions