Merge tag 'v3.3-rc3' as we've got several bugfixes in there which are
colliding annoyingly with development. Linux 3.3-rc3 .. the number of the half-beast? Conflicts: sound/soc/codecs/wm5100.c sound/soc/codecs/wm8994.c
This commit is contained in:
@@ -567,6 +567,17 @@ int snd_soc_suspend(struct device *dev)
|
||||
if (!codec->suspended && codec->driver->suspend) {
|
||||
switch (codec->dapm.bias_level) {
|
||||
case SND_SOC_BIAS_STANDBY:
|
||||
/*
|
||||
* If the CODEC is capable of idle
|
||||
* bias off then being in STANDBY
|
||||
* means it's doing something,
|
||||
* otherwise fall through.
|
||||
*/
|
||||
if (codec->dapm.idle_bias_off) {
|
||||
dev_dbg(codec->dev,
|
||||
"idle_bias_off CODEC on over suspend\n");
|
||||
break;
|
||||
}
|
||||
case SND_SOC_BIAS_OFF:
|
||||
codec->driver->suspend(codec);
|
||||
codec->suspended = 1;
|
||||
|
||||
Reference in New Issue
Block a user