summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/si476x.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2012-10-31 09:07:43 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-02-20 18:09:17 +0100
commit4e38b745af76cdd93bca33258e1e33a23458f92c (patch)
treee4113def43cc91e3451a63aa054deeb5306a3c9d /sound/soc/codecs/si476x.c
parentLinux 3.8 (diff)
downloadlinux-4e38b745af76cdd93bca33258e1e33a23458f92c.tar.xz
linux-4e38b745af76cdd93bca33258e1e33a23458f92c.zip
ASoC: si476x: Add missing break for SNDRV_PCM_FORMAT_S8 switch case
Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/si476x.c')
-rw-r--r--sound/soc/codecs/si476x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/si476x.c b/sound/soc/codecs/si476x.c
index f2d61a187830..566ea3256e2d 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;