ASoC: Add pop delay debug at end of DAPM sequencing
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 8 Jul 2009 17:54:57 +0000 (18:54 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 8 Jul 2009 17:54:57 +0000 (18:54 +0100)
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>
sound/soc/soc-dapm.c

index 5157ec1..a40594f 100644 (file)
@@ -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;
 }