Skip to contentSkip to conversation

ASoC: si476x: Add missing break for SNDRV_PCM_FORMAT_S8 switch case

PATCH Applied Axel Lin 2 participants 2 messages Oct 31, 2012 – Nov 1, 2012

Subsystems (2)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 ASoC: si476x: Add missing break for SNDRV_PCM_FORMAT_S8 switch case

---
 sound/soc/codecs/si476x.c |    1 +
 1 file changed, 1 insertion(+)
sound/soc/codecs/si476x.c +1 -0
index 38145ba..dadf04d 100644
@@ -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;
Signature · 1 line
1.7.9.5