projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19f949f
)
ASoC: si476x: Add missing break for SNDRV_PCM_FORMAT_S8 switch case
author
Axel Lin
<axel.lin@ingics.com>
Wed, 31 Oct 2012 08:07:43 +0000
(16:07 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Wed, 20 Feb 2013 17:09:17 +0000
(17:09 +0000)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/si476x.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/si476x.c
b/sound/soc/codecs/si476x.c
index f2d61a18783089a61632d43b27653e912b4eafa4..566ea3256e2d784c38745ea05972917e19b4021e 100644
(file)
--- a/
sound/soc/codecs/si476x.c
+++ b/
sound/soc/codecs/si476x.c
@@
-159,6
+159,7
@@
static int si476x_codec_hw_params(struct snd_pcm_substream *substream,
switch (params_format(params)) {
case SNDRV_PCM_FORMAT_S8:
width = SI476X_PCM_FORMAT_S8;
+ break;
case SNDRV_PCM_FORMAT_S16_LE:
width = SI476X_PCM_FORMAT_S16_LE;
break;