diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-05-17 16:41:23 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-05-18 10:53:16 -0400 |
commit | 452c5eaa0d5162e02ffee742ea17540887bc2904 (patch) | |
tree | 7dbac625d69e3ff01445d7f1b1fa321aa35fcae5 /include/sound/soc.h | |
parent | aef908434cd24dd5529065bf5d781773fad21125 (diff) |
ASoC: Integrate bias management with DAPM power management
Rather than managing the bias level of the system based on if there is
an active audio stream manage it based on there being an active DAPM
widget. This simplifies the code a little, moving the power handling
into one place, and improves audio performance for bypass paths when no
playbacks or captures are active.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r-- | include/sound/soc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index 8309ce81cf3b..2af3213df90c 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h | |||
@@ -339,6 +339,7 @@ struct snd_soc_codec { | |||
339 | struct module *owner; | 339 | struct module *owner; |
340 | struct mutex mutex; | 340 | struct mutex mutex; |
341 | struct device *dev; | 341 | struct device *dev; |
342 | struct snd_soc_device *socdev; | ||
342 | 343 | ||
343 | struct list_head list; | 344 | struct list_head list; |
344 | 345 | ||