]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm_adsp: Add locking to DSP firmware controls
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Tue, 8 Dec 2015 16:08:27 +0000 (16:08 +0000)
committerMark Brown <broonie@kernel.org>
Sat, 12 Dec 2015 22:43:21 +0000 (22:43 +0000)
commit031dc8bc67a447beee631a136f5254906164530f
tree55eba8c02305ea8477c707cff700b122b57b433e
parent61e91e94609486dea00b59ff7865d316ef100b68
ASoC: wm_adsp: Add locking to DSP firmware controls

Locking is currently missing from the DSP firmware controls, which can
lead to some race conditions if the controls are accessed as the DSP
powers up or down. This patch adds them to the new power lock.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c