aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2013-04-30 10:24:41 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-19 10:04:36 -0700
commit8856cb69e794e8554109aef2568817a304b70ae7 (patch)
tree1d75ec6bab9dd71348a84893dd7d52127d3ad430 /sound
parentf3fb49dfccbf7bb7005bd57bb7385c3ee80d8c52 (diff)
ASoC: wm8994: missing break in wm8994_aif3_hw_params()
commit 4495e46fe18f198366961bb2b324a694ef8a9b44 upstream. The missing break here means that we always return early and the function is a no-op. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/wm8994.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c
index 1f7616d03ff..0c73274a52b 100644
--- a/sound/soc/codecs/wm8994.c
+++ b/sound/soc/codecs/wm8994.c
@@ -2249,6 +2249,7 @@ static int wm8994_aif3_hw_params(struct snd_pcm_substream *substream,
default:
return 0;
}
+ break;
default:
return 0;
}