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>
This commit is contained in:
Charles Keepax 2015-12-08 16:08:26 +00:00 • committed by Mark Brown
commit 078e71838c
2 changed files with 44 additions and 34 deletions