ASoC: dapm: Fix compilation warning
authorMarek Belisko <marek.belisko@open-nandra.com>
Thu, 12 Jul 2012 21:00:16 +0000 (23:00 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 13 Jul 2012 14:43:41 +0000 (15:43 +0100)
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>
sound/soc/soc-dapm.c

index 4ba47aab980156b29562b77a969491fbf026ae1d..f7a13f720529966f011fd767b224b6503eed68f4 100644 (file)
@@ -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);