summaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-dapm.c
diff options
context:
space:
mode:
authorMark Brown2009-07-08 19:54:57 +0200
committerMark Brown2009-07-08 19:54:57 +0200
commitcb507e7e79f3c0e45ecaefad9220c34fcfbe74e8 (patch)
tree4ae9b5542cd0949af111cdb8b6196e4a61c88712 /sound/soc/soc-dapm.c
parentASoC: Configure WM8731 SYSCLK at startup on AT91SAM9G20-EK (diff)
downloadkernel-qcow2-linux-cb507e7e79f3c0e45ecaefad9220c34fcfbe74e8.tar.gz
kernel-qcow2-linux-cb507e7e79f3c0e45ecaefad9220c34fcfbe74e8.tar.xz
kernel-qcow2-linux-cb507e7e79f3c0e45ecaefad9220c34fcfbe74e8.zip
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)
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;
}