linux-stable/sound/soc/sof
Ranjani Sridharan 41c5305cc3
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: 7006d20e5e ("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
2023-05-15 10:21:15 +09:00
..
amd ASoC: SOF: amd: Fix NULL pointer crash in acp_sof_ipc_msg_data function 2023-05-09 14:43:33 +09:00
imx
intel ASoC: SOF: pcm/Intel: Pause-resume improvements for 2023-04-20 14:49:35 +01:00
mediatek ASoC: SOF: Prepare ipc_msg_data to be used with compress API 2023-01-17 13:37:51 +00:00
xtensa
compress.c ASoC: SOF: Use no_reply calls for TX 2023-04-20 12:51:45 +01:00
control.c ASoC: SOF: control: Extend the optionality of IPC ops to IPC as well 2022-12-25 23:32:33 +00:00
core.c ASoC: SOF: Add support for DSPless mode 2023-04-04 12:42:34 +01:00
debug.c ASoC: SOF: Add support for DSPless mode 2023-04-04 12:42:34 +01:00
iomem-utils.c
ipc.c
ipc3-control.c ASoC: SOF: ipc3-control: Merge functions to handle bytes_ext get variants 2023-03-13 14:06:49 +00:00
ipc3-dtrace.c ASoC: SOF: Use no_reply calls for TX 2023-04-20 12:51:45 +01:00
ipc3-loader.c
ipc3-pcm.c ASoC: SOF: Use no_reply calls for TX 2023-04-20 12:51:45 +01:00
ipc3-priv.h
ipc3-topology.c ASoC: SOF: ipc3-topology: Make sure that only one cmd is sent in dai_config 2023-05-15 10:21:12 +09:00
ipc3.c ASoC: SOF: Use no_reply calls for TX 2023-04-20 12:51:45 +01:00
ipc4-control.c ASoC: SOF: ipc4-control: Return on error in sof_ipc4_widget_kcontrol_setup() 2023-03-21 16:31:10 +00:00
ipc4-fw-reg.h ASoC: SOF: add ipc4_fw_reg header file 2023-02-03 12:03:48 +00:00
ipc4-loader.c
ipc4-mtrace.c ASoC: SOF: ipc4-mtrace: process pending logs upon FW crash 2023-03-07 13:58:20 +00:00
ipc4-pcm.c ASoC: SOF: pcm/Intel: Pause-resume improvements for 2023-04-20 14:49:35 +01:00
ipc4-priv.h ASoC: SOF: add time info structure for ipc4 path 2023-02-03 12:03:49 +00:00
ipc4-topology.c sound updates for 6.4-rc1 2023-04-27 10:58:37 -07:00
ipc4-topology.h ASoC: SOF: ipc4/intel: Add support for chained DMA 2023-03-21 12:13:31 +00:00
ipc4.c ASoC: SOF: ipc4: Ensure DSP is in D0I0 during sof_ipc4_set_get_data() 2023-03-22 13:17:27 +00:00
Kconfig
loader.c ASoC: SOF: loader: Remove log prefixes for snd_sof_run_firmware 2023-03-07 13:58:16 +00:00
Makefile
nocodec.c ASoC: SOF: nocodec: Drop empty platform remove function 2022-12-25 23:32:55 +00:00
ops.c
ops.h Merge branch 'for-linus' into for-next 2023-02-16 15:06:18 +01:00
pcm.c ASoC: SOF: pcm: Add an option to skip platform trigger during stop 2023-04-20 12:51:59 +01:00
pm.c ASoC: SOF: pm: save io region state in case of errors in resume 2023-05-15 10:21:14 +09:00
sof-acpi-dev.c
sof-acpi-dev.h
sof-audio.c ASoC: SOF: pcm: Add an option to skip platform trigger during stop 2023-04-20 12:51:59 +01:00
sof-audio.h ASoC: SOF: pcm: Add an option to skip platform trigger during stop 2023-04-20 12:51:59 +01:00
sof-client-ipc-flood-test.c ASoC: SOF: Use no_reply calls for TX 2023-04-20 12:51:45 +01:00
sof-client-ipc-msg-injector.c
sof-client-probes-ipc3.c ASoC: SOF: Use no_reply calls for TX 2023-04-20 12:51:45 +01:00
sof-client-probes-ipc4.c ASoC: SOF: Use no_reply calls for TX 2023-04-20 12:51:45 +01:00
sof-client-probes.c
sof-client-probes.h
sof-client.c ASoC: SOF: Add support for DSPless mode 2023-04-04 12:42:34 +01:00
sof-client.h ASoC: SOF: ipc: Add no reply inline calls 2023-04-20 12:51:44 +01:00
sof-of-dev.c
sof-of-dev.h
sof-pci-dev.c
sof-pci-dev.h
sof-priv.h ASoC: SOF: ipc: Add no reply inline calls 2023-04-20 12:51:44 +01:00
sof-utils.c
sof-utils.h
stream-ipc.c ASoC: SOF: Add support for compress API for stream data/offset 2023-01-17 13:37:53 +00:00
topology.c ASoC: SOF: topology: Fix logic for copying tuples 2023-05-15 10:21:15 +09:00
trace.c ASoC: SOF: trace: No need to check for op pointer in sof_fw_trace_free() 2022-12-25 23:32:39 +00:00