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)
commit168d10e74c4efd945a37adeb134f096505e62b49
tree55eba8c02305ea8477c707cff700b122b57b433e
parent7585a5b0ab5511376f032e421f7de72fe7e160d5
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