From: Mark Brown <broonie@opensource.wolfsonmicro.com> Date: Wed, 8 Jul 2009 17:54:57 +0000 (+0100) Subject: ASoC: Add pop delay debug at end of DAPM sequencing X-Git-Tag: firefly_0821_release~12446^2~83^2~71 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=cb507e7e79f3c0e45ecaefad9220c34fcfbe74e8;p=firefly-linux-kernel-4.4.55.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 <broonie@opensource.wolfsonmicro.com> --- diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 5157ec110cfa..a40594f5ad66 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; }