summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-01-25 19:55:22 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-01-26 16:22:53 +0000
commitafe62367e02fd7b83a6a824a20ad432fa5b00040 (patch)
tree1ff0586c9d9ec3d5453babcdb511962b6d262ad2 /sound
parentfb644e9ce02a6965a2419325a03a9ea531840bcd (diff)
downloadop-kernel-dev-afe62367e02fd7b83a6a824a20ad432fa5b00040.zip
op-kernel-dev-afe62367e02fd7b83a6a824a20ad432fa5b00040.tar.gz
ASoC: dapm: Ignore isolated signal generators for power purposes
A signal generator has no power control itself and so shouldn't cause a power up of the device. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/soc-dapm.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index 4973545..ec58a31 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -1435,9 +1435,13 @@ static int dapm_power_widgets(struct snd_soc_dapm_context *dapm, int event)
/* Supplies and micbiases only bring the
* context up to STANDBY as unless something
* else is active and passing audio they
- * generally don't require full power.
+ * generally don't require full power. Signal
+ * generators are virtual pins and have no
+ * power impact themselves.
*/
switch (w->id) {
+ case snd_soc_dapm_siggen:
+ break;
case snd_soc_dapm_supply:
case snd_soc_dapm_regulator_supply:
case snd_soc_dapm_micbias:
OpenPOWER on IntegriCloud