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)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 30 Apr 2013 18:45:42 +0000 (19:45 +0100)
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
sound/soc/codecs/wm8994.c

index c9bd445c497628d014a77508e8d37092e4db203e..e5f96c98c5a8f5245bed2bd9887a0a444cbbff72 100644 (file)
@@ -2841,6 +2841,7 @@ static int wm8994_aif3_hw_params(struct snd_pcm_substream *substream,
                default:
                        return 0;
                }
+               break;
        default:
                return 0;
        }