]> git.baikalelectronics.ru Git - kernel.git/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 May 2023 13:03:32 +0000 (14:03 +0100)
commitc95bab4912cb369f1d9f3a15a4243a9da976e4fa
tree78e916486c704a2fca716f56c05079c11e26e071
parentf13cccaeb6afae7008693cd4251a77371dfee73a
ASoC: Intel: avs: Access path components under lock

commit d849996f7458042af803b7d15a181922834c5249 upstream.

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

Fixes: 6af0b3fd1368 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/intel/avs/apl.c