projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
272b98c
)
ASoC: blackfin: Add missing break statement to bf6xx
author
Valentin Ilie
<valentin.ilie@gmail.com>
Fri, 13 Sep 2013 23:20:37 +0000
(
02:20
+0300)
committer
Mark Brown
<broonie@linaro.org>
Mon, 16 Sep 2013 23:47:14 +0000
(
00:47
+0100)
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>
sound/soc/blackfin/bf6xx-i2s.c
patch
|
blob
|
history
diff --git
a/sound/soc/blackfin/bf6xx-i2s.c
b/sound/soc/blackfin/bf6xx-i2s.c
index
c02405c
..
5810a06
100644
(file)
--- 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;