]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ASoC: blackfin: Add missing break statement to bf6xx
authorValentin Ilie <valentin.ilie@gmail.com>
Fri, 13 Sep 2013 23:20:37 +0000 (02:20 +0300)
committerMark Brown <broonie@linaro.org>
Mon, 16 Sep 2013 23:47:14 +0000 (00:47 +0100)
SNDRV_PCM_FORMAT_S8 isn't supposed to fall through to SNDRV_PCM_FORMAT_S16_LE

Signed-off-by: Valentin Ilie <valentin.ilie@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/blackfin/bf6xx-i2s.c

index c02405cc007db2c88c14b25d17eff81b270f550b..5810a0603f2f1eb17ef5eece60d97ba7f6687e04 100644 (file)
@@ -88,6 +88,7 @@ static int bfin_i2s_hw_params(struct snd_pcm_substream *substream,
        case SNDRV_PCM_FORMAT_S8:
                param.spctl |= 0x70;
                sport->wdsize = 1;
+               break;
        case SNDRV_PCM_FORMAT_S16_LE:
                param.spctl |= 0xf0;
                sport->wdsize = 2;