Skip to content

Commit

Permalink
ASoC: blackfin: Add missing break statement to bf6xx
Browse files Browse the repository at this point in the history
SNDRV_PCM_FORMAT_S8 isn't supposed to fall through to SNDRV_PCM_FORMAT_S16_LE

Signed-off-by: Valentin Ilie <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
vilie authored and broonie committed Sep 16, 2013
1 parent 272b98c commit 4f8ec17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/soc/blackfin/bf6xx-i2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4f8ec17

Please sign in to comment.