]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ASoC: si476x: Add missing break for SNDRV_PCM_FORMAT_S8 switch case
authorAxel Lin <axel.lin@ingics.com>
Wed, 31 Oct 2012 08:07:43 +0000 (16:07 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 20 Feb 2013 17:09:17 +0000 (17:09 +0000)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/si476x.c

index f2d61a18783089a61632d43b27653e912b4eafa4..566ea3256e2d784c38745ea05972917e19b4021e 100644 (file)
@@ -159,6 +159,7 @@ static int si476x_codec_hw_params(struct snd_pcm_substream *substream,
        switch (params_format(params)) {
        case SNDRV_PCM_FORMAT_S8:
                width = SI476X_PCM_FORMAT_S8;
+               break;
        case SNDRV_PCM_FORMAT_S16_LE:
                width = SI476X_PCM_FORMAT_S16_LE;
                break;