diff options
author | Valentin Ilie <valentin.ilie@gmail.com> | 2013-09-14 01:20:37 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-09-17 01:47:14 +0200 |
commit | 4f8ec173775fc732075cce78bd2c30660259c14c (patch) | |
tree | 78efdeb9c6c06bcd5db6c14bbea4d4e330bc5c3d /sound/soc/blackfin | |
parent | Linux 3.12-rc1 (diff) | |
download | linux-4f8ec173775fc732075cce78bd2c30660259c14c.tar.xz linux-4f8ec173775fc732075cce78bd2c30660259c14c.zip |
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; |