ASoC: blackfin: Add missing break statement to bf6xx
PATCH 1/1 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 <[email protected]>
--- sound/soc/blackfin/bf6xx-i2s.c | 1 + 1 file changed, 1 insertion(+)
sound/soc/blackfin/bf6xx-i2s.c +1 -0
@@ -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 ;
Signature · 1 line
1.7.9.5
Quoted 3 lines · Valentin Ilie
SNDRV_PCM_FORMAT_S8isn't supposed to fall through toSNDRV_PCM_FORMAT_S16_LESigned-off-by Valentin Ilie <[email protected]>
Applied, thanks.