From: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Date: Wed, 22 Jan 2014 10:09:11 +0000 (+0000)
Subject: ASoC: wm_adsp: Add debug print to note that the DSP has shutdown
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ddbc5efed0f9064287acead56bbf0dce3ca28ee2;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

ASoC: wm_adsp: Add debug print to note that the DSP has shutdown

It can be useful for debugging purposes to see at what point the DSP has
powered down, so add a message to inform us of this.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
---

diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c
index 444626fcab40..f9fd56444a14 100644
--- a/sound/soc/codecs/wm_adsp.c
+++ b/sound/soc/codecs/wm_adsp.c
@@ -1679,6 +1679,8 @@ int wm_adsp2_event(struct snd_soc_dapm_widget *w,
 			list_del(&alg_region->list);
 			kfree(alg_region);
 		}
+
+		adsp_dbg(dsp, "Shutdown complete\n");
 		break;
 
 	default: