aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-03-05 07:17:48 -0500
committerMark Brown <broonie@linaro.org>2014-03-06 04:04:56 -0500
commit3d59400fe47e7e8bfb024cd1651433bef42e268e (patch)
treef3a0162a203e1abb9063f662b623d4972221d752 /include/sound
parentcdde4ccb14b4959bd1c96a07367bf02b746328d3 (diff)
ASoC: Move ignore_pmdown_time from CODEC to component
In preparation for componentization move the ignore_pmdown_time field from the snd_soc_codec struct to the snd_soc_component struct. Set it to true for non CODEC components for now. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/soc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 0495b4aaeb70..b14acd8228ab 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -663,6 +663,8 @@ struct snd_soc_component {
663 663
664 unsigned int active; 664 unsigned int active;
665 665
666 unsigned int ignore_pmdown_time:1; /* pmdown_time is ignored at stop */
667
666 struct list_head list; 668 struct list_head list;
667 669
668 struct snd_soc_dai_driver *dai_drv; 670 struct snd_soc_dai_driver *dai_drv;
@@ -715,7 +717,6 @@ struct snd_soc_codec {
715 717
716 /* dapm */ 718 /* dapm */
717 struct snd_soc_dapm_context dapm; 719 struct snd_soc_dapm_context dapm;
718 unsigned int ignore_pmdown_time:1; /* pmdown_time is ignored at stop */
719 720
720#ifdef CONFIG_DEBUG_FS 721#ifdef CONFIG_DEBUG_FS
721 struct dentry *debugfs_codec_root; 722 struct dentry *debugfs_codec_root;