summaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorMark Brown2011-06-04 12:25:10 +0200
committerMark Brown2011-06-06 22:45:44 +0200
commit56fba41f8f6444f9e2db3bfe2c4cc5c5bac43d1d (patch)
treeac4e74a24720567d7babb1abbe1b92cc201b9f00 /include/sound/soc.h
parentASoC: Allow WM8915 BCLK calculation outside hw_params() (diff)
downloadkernel-qcow2-linux-56fba41f8f6444f9e2db3bfe2c4cc5c5bac43d1d.tar.gz
kernel-qcow2-linux-56fba41f8f6444f9e2db3bfe2c4cc5c5bac43d1d.tar.xz
kernel-qcow2-linux-56fba41f8f6444f9e2db3bfe2c4cc5c5bac43d1d.zip
ASoC: Specify target bias state directly as a bias state
Rather than a simple flag to say if we want the DAPM context to be at full power specify the target bias state. This should have no current effect but is a bit more direct and so makes it easier to change our decisions about the which bias state to go into in future. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r--include/sound/soc.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index f1de3e0c75bc..0f297006f5b2 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -214,10 +214,10 @@
* @OFF: Power Off. No restrictions on transition times.
*/
enum snd_soc_bias_level {
- SND_SOC_BIAS_OFF,
- SND_SOC_BIAS_STANDBY,
- SND_SOC_BIAS_PREPARE,
- SND_SOC_BIAS_ON,
+ SND_SOC_BIAS_OFF = 0,
+ SND_SOC_BIAS_STANDBY = 1,
+ SND_SOC_BIAS_PREPARE = 2,
+ SND_SOC_BIAS_ON = 3,
};
struct snd_jack;