[03/65] ASoC: wm8994: missing break in wm8994_aif3_hw_params()

Steven Rostedt
2013-06-03T22:25:03Z

[-- Attachment #1: 0003-ASoC-wm8994-missing-break-in-wm8994_aif3_hw_params.patch --]
[-- Type: text/plain, Size: 907 bytes --]

3.6.11.5 stable review patch.
If anyone has any objections, please let me know.

------------------

From: Dan Carpenter <dan.carpenter@oracle.com>

[ Upstream commit 4495e46fe18f198366961bb2b324a694ef8a9b44 ]

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>
Cc: stable@vger.kernel.org
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
---
sound/soc/codecs/wm8994.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c
index 6c9eeca..7911480 100644
--- a/sound/soc/codecs/wm8994.c
+++ b/sound/soc/codecs/wm8994.c
@@ -2778,6 +2778,7 @@ static int wm8994_aif3_hw_params(struct snd_pcm_substream *substream,
default:
return 0;
}
+ break;
default:
return 0;
}
--
1.7.10.4