From 01132c46d3d0abe8edf547acfe3572fe8c30aa06 Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Wed, 10 Dec 2008 11:08:33 +0000 Subject: [PATCH] --- yaml --- r: 120305 b: refs/heads/master c: 1e297a19252a6792c4479b300020f7f63eeb56ef h: refs/heads/master i: 120303: 6d66fa751e8e9e30e165c583d9f29e16ae1f05e3 v: v3 --- [refs] | 2 +- trunk/sound/soc/codecs/wm8903.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index b6ae6068ec7a..ea6996a50db9 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f73f2a6a23e34de9cca9672f727694e5af00e6c7 +refs/heads/master: 1e297a19252a6792c4479b300020f7f63eeb56ef diff --git a/trunk/sound/soc/codecs/wm8903.c b/trunk/sound/soc/codecs/wm8903.c index 0b5bea37e3dc..b1f5cf77a876 100644 --- a/trunk/sound/soc/codecs/wm8903.c +++ b/trunk/sound/soc/codecs/wm8903.c @@ -392,6 +392,7 @@ static int wm8903_output_event(struct snd_soc_dapm_widget *w, break; default: BUG(); + return -EINVAL; /* Spurious warning from some compilers */ } switch (w->shift) { @@ -403,6 +404,7 @@ static int wm8903_output_event(struct snd_soc_dapm_widget *w, break; default: BUG(); + return -EINVAL; /* Spurious warning from some compilers */ } if (event & SND_SOC_DAPM_PRE_PMU) {