Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 248266
b: refs/heads/master
c: 52ba67b
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Apr 9, 2011
1 parent 280c621 commit 68afc82
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d25b7c1ec7da4636587ad1a22b324bcd7b89b6bc
refs/heads/master: 52ba67bf85889828b3766207fa43ce7159c84c78
9 changes: 9 additions & 0 deletions trunk/sound/soc/soc-dapm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1101,6 +1101,15 @@ static int dapm_power_widgets(struct snd_soc_dapm_context *dapm, int event)
}
}

/* Force all contexts in the card to the same bias state */
power = 0;
list_for_each_entry(d, &card->dapm_list, list)
if (d->dev_power)
power = 1;
list_for_each_entry(d, &card->dapm_list, list)
d->dev_power = power;


/* Run all the bias changes in parallel */
list_for_each_entry(d, &dapm->card->dapm_list, list)
async_schedule_domain(dapm_pre_sequence_async, d,
Expand Down

0 comments on commit 68afc82

Please sign in to comment.