Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270662
b: refs/heads/master
c: 85a843c
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Sep 23, 2011
1 parent b89f83e commit 2f7c112
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8c756158343029c046ade6e7076f25f99774e72f
refs/heads/master: 85a843c50ffb3597928968250a3f552a45b1b9de
7 changes: 5 additions & 2 deletions trunk/sound/soc/soc-dapm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1319,13 +1319,16 @@ static int dapm_power_widgets(struct snd_soc_dapm_context *dapm, int event)
}
}

/* Force all contexts in the card to the same bias state */
/* Force all contexts in the card to the same bias state if
* they're not ground referenced.
*/
bias = SND_SOC_BIAS_OFF;
list_for_each_entry(d, &card->dapm_list, list)
if (d->target_bias_level > bias)
bias = d->target_bias_level;
list_for_each_entry(d, &card->dapm_list, list)
d->target_bias_level = bias;
if (!d->idle_bias_off)
d->target_bias_level = bias;

trace_snd_soc_dapm_walk_done(card);

Expand Down

0 comments on commit 2f7c112

Please sign in to comment.