summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Belisko <marek.belisko@open-nandra.com>2012-07-12 23:00:16 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-13 16:43:41 +0200
commit98b3cf1290d2d6fbc926dc410d3713c8244e7604 (patch)
treee70b1ad2e68f6d0644863d8583379dcad42b9ba2
parentASoC: wm8962: Redo early init of the part on resume (diff)
downloadlinux-98b3cf1290d2d6fbc926dc410d3713c8244e7604.tar.xz
linux-98b3cf1290d2d6fbc926dc410d3713c8244e7604.zip
ASoC: dapm: Fix compilation warning
Fix following: sound/soc/soc-dapm.c: In function ‘dapm_clock_event’: sound/soc/soc-dapm.c:1021:1: warning: control reaches end of non-void function [-Wreturn-type] Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r--sound/soc/soc-dapm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index 4ba47aab9801..f7a13f720529 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -1019,6 +1019,7 @@ int dapm_clock_event(struct snd_soc_dapm_widget *w,
return 0;
}
#endif
+ return 0;
}
EXPORT_SYMBOL_GPL(dapm_clock_event);