ASoC: wm_adsp: Add power lock for firmware change control
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Tue, 8 Dec 2015 16:08:28 +0000 (16:08 +0000)
committerMark Brown <broonie@kernel.org>
Sat, 12 Dec 2015 22:43:15 +0000 (22:43 +0000)
commitd27c5e155c69a4c45e9833fbf66aa580dcd01624
treecf218573dbc3d1652d1e61b192c2371a97e7b4d2
parent078e71838cdff1c2a1a33e65459954adda9a4641
ASoC: wm_adsp: Add power lock for firmware change control

We should hold the DSP power lock whilst changing the firmware since we
need to check if it is running first.

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