Skip to content

Commit

Permalink
ASoC: Use dapm_mark_dirty() for new DAPM widgets for consistency
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Oct 5, 2011
1 parent f68d7e1 commit 7508b12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/soc-dapm.c
Original file line number Diff line number Diff line change
Expand Up @@ -2185,7 +2185,7 @@ int snd_soc_dapm_new_widgets(struct snd_soc_dapm_context *dapm)

w->new = 1;

list_add(&w->dirty, &(w->dapm->card->dapm_dirty));
dapm_mark_dirty(w, "new widget");
dapm_debugfs_add_widget(w);
}

Expand Down

0 comments on commit 7508b12

Please sign in to comment.