diff options
author | Valentin Ilie <valentin.ilie@gmail.com> | 2013-09-13 19:20:37 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-09-16 19:47:14 -0400 |
commit | 4f8ec173775fc732075cce78bd2c30660259c14c (patch) | |
tree | 78efdeb9c6c06bcd5db6c14bbea4d4e330bc5c3d /sound | |
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')
-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, | |||
88 | case SNDRV_PCM_FORMAT_S8: | 88 | case SNDRV_PCM_FORMAT_S8: |
89 | param.spctl |= 0x70; | 89 | param.spctl |= 0x70; |
90 | sport->wdsize = 1; | 90 | sport->wdsize = 1; |
91 | break; | ||
91 | case SNDRV_PCM_FORMAT_S16_LE: | 92 | case SNDRV_PCM_FORMAT_S16_LE: |
92 | param.spctl |= 0xf0; | 93 | param.spctl |= 0xf0; |
93 | sport->wdsize = 2; | 94 | sport->wdsize = 2; |