summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-26 15:08:05 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-26 15:08:05 +0100
commit5f948722cd2f797bb2ce7684e72336a5edd149a6 (patch)
treea34fb8c489ac8cef5487cf67450dd86e364df336 /sound
parentMerge remote-tracking branch 'asoc/fix/sh' into asoc-next (diff)
parentASoC: si476x: Add missing break for SNDRV_PCM_FORMAT_S8 switch case (diff)
downloadlinux-5f948722cd2f797bb2ce7684e72336a5edd149a6.tar.xz
linux-5f948722cd2f797bb2ce7684e72336a5edd149a6.zip
Merge remote-tracking branch 'asoc/fix/si476x' into asoc-next
Diffstat (limited to 'sound')
-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;