12 Nov
2010
12 Nov
'10
4:13 p.m.
On Fri, Nov 12, 2010 at 11:23:26AM +0200, Jarkko Nikula wrote:
list_for_each_entry_safe(w, n, list, power_list) { ret = 0;
/* Do we need to apply any queued changes? */
if (sort[w->id] != cur_sort || w->reg != cur_reg) {
if (sort[w->id] != cur_sort || w->reg != cur_reg ||
w->dapm != cur_dapm) { if (!list_empty(&pending))
dapm_seq_run_coalesced(dapm, &pending);
dapm_seq_run_coalesced(cur_dapm, &pending); INIT_LIST_HEAD(&pending); cur_sort = -1; cur_reg = SND_SOC_NOPM;
We need a corresponding change in dapm_seq_compare() to ensure that the widgets for a given card are grouped together. I'll send out some patches to do that shortly since I just noticed there's an oversight there anyway.