|
@@ -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,
|