aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-02-01 13:46:10 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-02-03 13:03:37 -0500
commit8c961bcca1d10be4f2c06375eb561679167653a0 (patch)
tree568e0371807f25bf09d5948db1b798eb1ec49e01 /include/sound
parent0f69d9782c6e6a7b0e60113a850845bc642c3f4e (diff)
ASoC: Allow CODECs to ask soc-cache to suppress physical writes
Currently the soc-cache code will always write to the device, meaning that we need the device to be powered and active at pretty much all times the system is active. Allowing cache only writes lays some groundwork for future enhancements to allow devices to be put into a full off state when the audio subsystem is idle. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
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 4bbeb9f83ece..4e8f14bc8ed3 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -423,6 +423,7 @@ struct snd_soc_codec {
423 short reg_cache_step; 423 short reg_cache_step;
424 424
425 unsigned int idle_bias_off:1; /* Use BIAS_OFF instead of STANDBY */ 425 unsigned int idle_bias_off:1; /* Use BIAS_OFF instead of STANDBY */
426 unsigned int cache_only:1; /* Suppress writes to hardware */
426 427
427 /* dapm */ 428 /* dapm */
428 u32 pop_time; 429 u32 pop_time;