ASoC: Use dapm_mark_dirty() for new DAPM widgets for consistency
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 5 Oct 2011 11:09:12 +0000 (12:09 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 5 Oct 2011 11:54:33 +0000 (12:54 +0100)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-dapm.c

index 82d93bf3c2515b17c59e8e87273d7d633c30d8e7..8711aab01445fd2969705dbe7a6a1f7c803000e6 100644 (file)
@@ -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);
        }