From: Mark Brown Date: Wed, 5 Oct 2011 11:09:12 +0000 (+0100) Subject: ASoC: Use dapm_mark_dirty() for new DAPM widgets for consistency X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7508b12a8eb713436feb65893ae7ada57bf165ce;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ASoC: Use dapm_mark_dirty() for new DAPM widgets for consistency Signed-off-by: Mark Brown --- diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 82d93bf3c251..8711aab01445 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c @@ -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); }