summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2012-10-31 16:07:43 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-02-20 17:09:17 +0000
commit4e38b745af76cdd93bca33258e1e33a23458f92c (patch)
treee4113def43cc91e3451a63aa054deeb5306a3c9d /sound
parent19f949f52599ba7c3f67a5897ac6be14bfcb1200 (diff)
downloadop-kernel-dev-4e38b745af76cdd93bca33258e1e33a23458f92c.zip
op-kernel-dev-4e38b745af76cdd93bca33258e1e33a23458f92c.tar.gz
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')
-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 f2d61a1..566ea32 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;
OpenPOWER on IntegriCloud