]> 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:17:27 +0000 (14:17 +0100)
commitdff8caef7a21ed4c9f842cbc17001627a4dc63d2
treeec6dedcb726a588784bd30b3d5eea4ab852ec170
parent7bdb0fce080bf04ca171dbb1329ceeedb2abe2b4
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