summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-10-05 12:09:12 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-10-05 12:54:33 +0100
commit7508b12a8eb713436feb65893ae7ada57bf165ce (patch)
tree53d4b36b1c8d77ad079277c521029c304b549331 /sound
parentf68d7e168785a2e89f615863fb5fab22518c8eb8 (diff)
downloadop-kernel-dev-7508b12a8eb713436feb65893ae7ada57bf165ce.zip
op-kernel-dev-7508b12a8eb713436feb65893ae7ada57bf165ce.tar.gz
ASoC: Use dapm_mark_dirty() for new DAPM widgets for consistency
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/soc-dapm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index 82d93bf..8711aab 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);
}
OpenPOWER on IntegriCloud