diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-07-08 17:54:57 (GMT) |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-07-08 17:54:57 (GMT) |
commit | cb507e7e79f3c0e45ecaefad9220c34fcfbe74e8 (patch) | |
tree | 4ae9b5542cd0949af111cdb8b6196e4a61c88712 | |
parent | 96fd6d471b2c953df5379a356be04f8c8f8b4bdf (diff) | |
download | linux-fsl-qoriq-cb507e7e79f3c0e45ecaefad9220c34fcfbe74e8.tar.xz |
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>
-rw-r--r-- | sound/soc/soc-dapm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 5157ec1..a40594f 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; } |