ASoC: wm_adsp: Add debug print to note that the DSP has shutdown
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Wed, 22 Jan 2014 10:09:11 +0000 (10:09 +0000)
committerMark Brown <broonie@linaro.org>
Mon, 3 Feb 2014 12:36:16 +0000 (12:36 +0000)
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>
sound/soc/codecs/wm_adsp.c

index 444626fcab40d42aed3b6df03e9cf86f43dd3423..f9fd56444a14d7043a40f4543ab0b7ca1b6c333b 100644 (file)
@@ -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: