]> git.itanic.dy.fi Git - linux-stable/commit
ASoC: Intel: avs: Access path components under lock
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Fri, 19 May 2023 20:17:06 +0000 (22:17 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 22 May 2023 10:18:21 +0000 (11:18 +0100)
commitd849996f7458042af803b7d15a181922834c5249
tree084647c2c95d951ea2f61ae000787397c9358342
parentff04437f6dcd138b50483afc7b313f016020ce8f
ASoC: Intel: avs: Access path components under lock

Path and its components should be accessed under lock to prevent
problems with one thread modifying them while other tries to read.

Fixes: c8c960c10971 ("ASoC: Intel: avs: APL-based platforms support")
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/20230519201711.4073845-3-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/avs/apl.c