ASoC: wm_adsp: Fixup wm_adsp2_boot_work error paths
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Tue, 24 Jan 2017 11:44:01 +0000 (11:44 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 24 Jan 2017 12:14:36 +0000 (12:14 +0000)
commitd589d8b83503c1f153965f4c2747349ccca6995e
tree84c21ede178b83745e26cbfee8a9579b06bf44c8
parente779974b86491cc938dfdcbfbf8fb363a40bc9ea
ASoC: wm_adsp: Fixup wm_adsp2_boot_work error paths

Currently we are not disabling MEM_ENA on the error path, we should
really do this to unwind the state back to how it was. This patch adds a
clear of MEM_ENA on the error path, again there is no major issues
caused by this minor fix.

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