diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-04-30 10:24:41 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-19 11:38:11 -0700 |
commit | ccd72f9a3fecf9c882973adf69b8d3a675871e01 (patch) | |
tree | ed9b378060b333f140e4f1ff98cc0efe58d285f8 /sound | |
parent | 2016e20a34b4adbea1ef5f17c5022a20f14810b0 (diff) | |
download | lwn-ccd72f9a3fecf9c882973adf69b8d3a675871e01.tar.gz lwn-ccd72f9a3fecf9c882973adf69b8d3a675871e01.zip |
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.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, default: return 0; } + break; default: return 0; } |