]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 May 2023 13:03:32 +0000 (14:03 +0100)
commitad72cb5899ce51abdb148359b20d61da8d9388de
tree78e916486c704a2fca716f56c05079c11e26e071
parent6ae9cf40b4e0b4f3d1cc5203edeac7dd28d3e168
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: 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/intel/avs/apl.c