summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2011-10-14 14:43:33 +0300
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-10-14 20:42:21 +0100
commit1d69c5c5de32c355667c105a5fac85c8043128e6 (patch)
treefcfe58ff456b0503c063f2e678d4c09110334b73 /include/sound
parent7a0e67b68701d73b2252bd73f7fd49c54aea1e58 (diff)
downloadop-kernel-dev-1d69c5c5de32c355667c105a5fac85c8043128e6.zip
op-kernel-dev-1d69c5c5de32c355667c105a5fac85c8043128e6.tar.gz
ASoC: core: Add flag to ignore pmdown_time at pcm_close
With this flag codec drivers can indicate that it is desired to ignore the pmdown_time for DAPM shutdown sequence when playback stream is stopped. The DAPM sequence will be executed without delay in this case. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/soc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 858291d..11cfb59 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -578,6 +578,7 @@ struct snd_soc_codec {
/* dapm */
struct snd_soc_dapm_context dapm;
+ unsigned int ignore_pmdown_time:1; /* pmdown_time is ignored at stop */
#ifdef CONFIG_DEBUG_FS
struct dentry *debugfs_codec_root;
OpenPOWER on IntegriCloud