Skip to contentSkip to conversation

ASoC: Use dapm_mark_dirty() for new DAPM widgets for consistency

PATCH New Mark Brown 1 participant 1 message Oct 5, 2011

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 ASoC: Use dapm_mark_dirty() for new DAPM widgets for consistency

---
 sound/soc/soc-dapm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/soc-dapm.c +1 -1
index 82d93bf..8711aab 100644
@@ -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);
 	}
 
Signature · 1 line
1.7.6.3