diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-25 14:55:22 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-26 11:22:53 -0500 |
commit | afe62367e02fd7b83a6a824a20ad432fa5b00040 (patch) | |
tree | 1ff0586c9d9ec3d5453babcdb511962b6d262ad2 /sound/soc/soc-dapm.c | |
parent | fb644e9ce02a6965a2419325a03a9ea531840bcd (diff) |
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/soc/soc-dapm.c')
-rw-r--r-- | sound/soc/soc-dapm.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 4973545f2a32..ec58a3146569 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) | |||
1435 | /* Supplies and micbiases only bring the | 1435 | /* Supplies and micbiases only bring the |
1436 | * context up to STANDBY as unless something | 1436 | * context up to STANDBY as unless something |
1437 | * else is active and passing audio they | 1437 | * else is active and passing audio they |
1438 | * generally don't require full power. | 1438 | * generally don't require full power. Signal |
1439 | * generators are virtual pins and have no | ||
1440 | * power impact themselves. | ||
1439 | */ | 1441 | */ |
1440 | switch (w->id) { | 1442 | switch (w->id) { |
1443 | case snd_soc_dapm_siggen: | ||
1444 | break; | ||
1441 | case snd_soc_dapm_supply: | 1445 | case snd_soc_dapm_supply: |
1442 | case snd_soc_dapm_regulator_supply: | 1446 | case snd_soc_dapm_regulator_supply: |
1443 | case snd_soc_dapm_micbias: | 1447 | case snd_soc_dapm_micbias: |