]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: SOF: topology: allocate string for tuples
authorBard Liao <yung-chuan.liao@linux.intel.com>
Mon, 14 Apr 2025 06:32:29 +0000 (14:32 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 14 Apr 2025 10:22:16 +0000 (11:22 +0100)
commit2c91f33c72db65a053e1aedfd662c1c984fb4c02
treec63e543260d575625277c7273948c401f1d01721
parent8ffd015db85fea3e15a77027fda6c02ced4d2444
ASoC: SOF: topology: allocate string for tuples

In preparation to handle tuples from multiple topologies, duplicate the
tuple string value by allocating memory for it.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://patch.msgid.link/20250414063239.85200-2-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/topology.c