]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ASoC: wm8994: missing break in wm8994_aif3_hw_params()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 30 Apr 2013 07:24:41 +0000 (10:24 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 19 May 2013 17:04:36 +0000 (10:04 -0700)
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>
sound/soc/codecs/wm8994.c

index 1f7616d03ffffa28e6177540c623666842aa6d5e..0c73274a52b8a168ed8ed1b4b7aa3d461891421a 100644 (file)
@@ -2249,6 +2249,7 @@ static int wm8994_aif3_hw_params(struct snd_pcm_substream *substream,
                default:
                        return 0;
                }
+               break;
        default:
                return 0;
        }