summaryrefslogtreecommitdiffstats
path: root/include/sound/soc-dapm.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-06-04 11:25:10 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-06-06 21:45:44 +0100
commit56fba41f8f6444f9e2db3bfe2c4cc5c5bac43d1d (patch)
treeac4e74a24720567d7babb1abbe1b92cc201b9f00 /include/sound/soc-dapm.h
parent6dffdea70029f2e74c029eba3c24d07641fa4a77 (diff)
downloadop-kernel-dev-56fba41f8f6444f9e2db3bfe2c4cc5c5bac43d1d.zip
op-kernel-dev-56fba41f8f6444f9e2db3bfe2c4cc5c5bac43d1d.tar.gz
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-dapm.h')
-rw-r--r--include/sound/soc-dapm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h
index c46e7d8..7415878 100644
--- a/include/sound/soc-dapm.h
+++ b/include/sound/soc-dapm.h
@@ -510,7 +510,7 @@ struct snd_soc_dapm_context {
struct snd_soc_card *card; /* parent card */
/* used during DAPM updates */
- int dev_power;
+ enum snd_soc_bias_level target_bias_level;
struct list_head list;
#ifdef CONFIG_DEBUG_FS
OpenPOWER on IntegriCloud