diff options
author | Valentin Ilie <valentin.ilie@gmail.com> | 2013-09-14 02:20:37 +0300 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-09-17 00:47:14 +0100 |
commit | 4f8ec173775fc732075cce78bd2c30660259c14c (patch) | |
tree | 78efdeb9c6c06bcd5db6c14bbea4d4e330bc5c3d /sound/soc/blackfin | |
parent | 272b98c6455f00884f0350f775c5342358ebb73f (diff) |
ASoC: blackfin: Add missing break statement to bf6xx
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>
Diffstat (limited to 'sound/soc/blackfin')
-rw-r--r-- | sound/soc/blackfin/bf6xx-i2s.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/blackfin/bf6xx-i2s.c b/sound/soc/blackfin/bf6xx-i2s.c index c02405cc007d..5810a0603f2f 100644 --- a/sound/soc/blackfin/bf6xx-i2s.c +++ b/sound/soc/blackfin/bf6xx-i2s.c @@ -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; |