aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-dapm.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-10-08 13:36:03 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-10-10 10:28:26 +0100
commit25c77c5fae5e0ef43ab6381f89fc41e26d2ca0f4 (patch)
tree2ade2999a71f1c48b3ea389c0c4bf4e29388d5ee /sound/soc/soc-dapm.c
parentASoC: Squash error codes from regmap down to -1 on read (diff)
downloadlinux-dev-25c77c5fae5e0ef43ab6381f89fc41e26d2ca0f4.tar.xz
linux-dev-25c77c5fae5e0ef43ab6381f89fc41e26d2ca0f4.zip
ASoC: Fix DAPM sync for TLV320AIC3x custom DAPM widget
We really should be doing this in the core, not in a driver... Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Tested-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Diffstat (limited to 'sound/soc/soc-dapm.c')
-rw-r--r--sound/soc/soc-dapm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index 258326b031cf..f42e8b9fb17d 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -124,7 +124,7 @@ static bool dapm_dirty_widget(struct snd_soc_dapm_widget *w)
return !list_empty(&w->dirty);
}
-static void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason)
+void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason)
{
if (!dapm_dirty_widget(w)) {
dev_vdbg(w->dapm->dev, "Marking %s dirty due to %s\n",
@@ -132,6 +132,7 @@ static void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason)
list_add_tail(&w->dirty, &w->dapm->card->dapm_dirty);
}
}
+EXPORT_SYMBOL_GPL(dapm_mark_dirty);
/* create a new dapm widget */
static inline struct snd_soc_dapm_widget *dapm_cnew_widget(