aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-dapm.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-07-08 13:54:57 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-07-08 13:54:57 -0400
commitcb507e7e79f3c0e45ecaefad9220c34fcfbe74e8 (patch)
tree4ae9b5542cd0949af111cdb8b6196e4a61c88712 /sound/soc/soc-dapm.c
parent96fd6d471b2c953df5379a356be04f8c8f8b4bdf (diff)
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>
Diffstat (limited to 'sound/soc/soc-dapm.c')
-rw-r--r--sound/soc/soc-dapm.c3
1 files changed, 3 insertions, 0 deletions
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)
997 pr_err("Failed to apply active bias: %d\n", ret); 997 pr_err("Failed to apply active bias: %d\n", ret);
998 } 998 }
999 999
1000 pop_dbg(codec->pop_time, "DAPM sequencing finished, waiting %dms\n",
1001 codec->pop_time);
1002
1000 return 0; 1003 return 0;
1001} 1004}
1002 1005