From: Dan Carpenter Date: Tue, 30 Apr 2013 07:24:41 +0000 (+0300) Subject: ASoC: wm8994: missing break in wm8994_aif3_hw_params() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4495e46fe18f198366961bb2b324a694ef8a9b44;p=linux-beck.git ASoC: wm8994: missing break in wm8994_aif3_hw_params() The missing break here means that we always return early and the function is a no-op. Signed-off-by: Dan Carpenter Signed-off-by: Mark Brown Cc: stable@vger.kernel.org --- diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index c9bd445c4976..e5f96c98c5a8 100644 --- a/sound/soc/codecs/wm8994.c +++ b/sound/soc/codecs/wm8994.c @@ -2841,6 +2841,7 @@ static int wm8994_aif3_hw_params(struct snd_pcm_substream *substream, default: return 0; } + break; default: return 0; }