From: Mark Brown Date: Wed, 8 Jul 2009 17:54:57 +0000 (+0100) Subject: ASoC: Add pop delay debug at end of DAPM sequencing X-Git-Tag: v2.6.33-rc3~4^2~202^2~71 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=cb507e7e79f3c0e45ecaefad9220c34fcfbe74e8;p=~shefty%2Frdma-dev.git ASoC: Add pop delay debug at end of DAPM sequencing Provide an interval after the end of DAPM sequencing so that we can distinguish between a pop in the final step of the sequence and a pop generated from some other source outside DAPM. Signed-off-by: Mark Brown --- diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 5157ec110cf..a40594f5ad6 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c @@ -997,6 +997,9 @@ static int dapm_power_widgets(struct snd_soc_codec *codec, int event) pr_err("Failed to apply active bias: %d\n", ret); } + pop_dbg(codec->pop_time, "DAPM sequencing finished, waiting %dms\n", + codec->pop_time); + return 0; }