]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: Intel: avs: Fix route override
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Mon, 3 Jun 2024 10:28:16 +0000 (12:28 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 10 Jun 2024 11:47:18 +0000 (12:47 +0100)
commitfd660b1bd015e5aa9a558ee04088f2431010548d
treea172089e64e7241444980fd784b6c3e315dd2d29
parent97ab304ecd95c0b1703ff8c8c3956dc6e2afe8e1
ASoC: Intel: avs: Fix route override

Instead of overriding existing memory strings that may be too short,
just allocate needed memory and point the route at it.

Reported-by: Jason Montleon <jmontleo@redhat.com>
Link: https://github.com/thesofproject/avs-topology-xml/issues/22#issuecomment-2127892605
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://lore.kernel.org/r/20240603102818.36165-3-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/avs/topology.c