[alsa-devel] [PATCH RFT] ASoC: si476x: Add missing break for SNDRV_PCM_FORMAT_S8 switch case
Axel Lin
axel.lin at ingics.com
Wed Oct 31 09:07:43 CET 2012
Signed-off-by: Axel Lin <axel.lin at ingics.com>
---
sound/soc/codecs/si476x.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/codecs/si476x.c b/sound/soc/codecs/si476x.c
index 38145ba..dadf04d 100644
--- 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;
--
1.7.9.5
More information about the Alsa-devel
mailing list