summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorJoachim Eastwood <manabian@gmail.com>2011-12-23 17:32:25 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-23 19:03:21 +0100
commit990fc3d0b2c27a9633b8f4566273da60aebe5941 (patch)
treefdeec27f822a01c19e259a68bc57706e85ffa15d /sound
parentASoC: Fix hx4700 error handling to free gpios if snd_soc_register_card fails (diff)
downloadlinux-990fc3d0b2c27a9633b8f4566273da60aebe5941.tar.xz
linux-990fc3d0b2c27a9633b8f4566273da60aebe5941.zip
ASoC: wm8776: add missing break in sample size switch
Broken in commit d1dc698a54259cb454284456483b45f67c865cf8 Signed-off-by: Joachim Eastwood <joachim.eastwood@jotron.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/wm8776.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8776.c b/sound/soc/codecs/wm8776.c
index bfdc52370ad0..d3b0a20744f1 100644
--- a/sound/soc/codecs/wm8776.c
+++ b/sound/soc/codecs/wm8776.c
@@ -235,6 +235,7 @@ static int wm8776_hw_params(struct snd_pcm_substream *substream,
switch (snd_pcm_format_width(params_format(params))) {
case 16:
iface = 0;
+ break;
case 20:
iface = 0x10;
break;