ASoC: wm_adsp: Replace debugfs lock with more general DSP power lock
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Tue, 8 Dec 2015 16:08:26 +0000 (16:08 +0000)
committerMark Brown <broonie@kernel.org>
Sat, 12 Dec 2015 22:43:13 +0000 (22:43 +0000)
commit078e71838cdff1c2a1a33e65459954adda9a4641
tree3cc1cef6b442b5a97942104b404fa0c91fce8b4d
parent04d1300fd3f5c070a9abe391860d29dfcda89c87
ASoC: wm_adsp: Replace debugfs lock with more general DSP power lock

Most events around the DSP just need to be locked to ensure that the DSP
can't change power state whilst they are happening. This includes the
debugfs entries and this will make sorting the rest of the locking
simpler.

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