diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-04-30 03:24:41 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-04-30 14:45:42 -0400 |
commit | 4495e46fe18f198366961bb2b324a694ef8a9b44 (patch) | |
tree | 3f7a3235831f7706b280ff7e04021fd3a75c90e9 /sound/soc | |
parent | c1be5a5b1b355d40e6cf79cc979eb66dafa24ad1 (diff) |
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 <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/wm8994.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, | |||
2841 | default: | 2841 | default: |
2842 | return 0; | 2842 | return 0; |
2843 | } | 2843 | } |
2844 | break; | ||
2844 | default: | 2845 | default: |
2845 | return 0; | 2846 | return 0; |
2846 | } | 2847 | } |