aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-05-09 08:25:43 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-05-10 05:37:13 -0400
commit3efab7dcc0f4d0087f73ff975eaa2fddc02ffc69 (patch)
tree501e2991f13b6ca8b7b3c3a27b03ccd4c5196185 /include/sound/soc.h
parent452a5fd679f8a6f215df71c41487ad4b2c7774db (diff)
ASoC: Allow DAI links to be kept active over suspend
As well as allowing DAPM pins to be marked as ignoring suspend allow DAI links to be similarly marked. This is primarily intended for digital links between CODECs and non-CPU devices such as basebands in mobile phones and will suppress all suspend calls for the DAI link. It is likely that this will need to be revisited if used with devices which are part of the SoC CPU. Tested-by: Peter Ujfalusi <peter.ujfalusi@nokia.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r--include/sound/soc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 9f306f0710df..8326fc3db1cf 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -505,6 +505,9 @@ struct snd_soc_dai_link {
505 /* codec/machine specific init - e.g. add machine controls */ 505 /* codec/machine specific init - e.g. add machine controls */
506 int (*init)(struct snd_soc_codec *codec); 506 int (*init)(struct snd_soc_codec *codec);
507 507
508 /* Keep DAI active over suspend */
509 unsigned int ignore_suspend:1;
510
508 /* Symmetry requirements */ 511 /* Symmetry requirements */
509 unsigned int symmetric_rates:1; 512 unsigned int symmetric_rates:1;
510 513