Skip to contentSkip to conversation

ASoC: Add missing break in WM8994 probe

PATCH In review Mark Brown 2 participants 2 messages Aug 10, 2011

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 ASoC: Add missing break in WM8994 probe

This error would have no effect on current silicon revisions, the fall through case has the same behaviour.

---
 sound/soc/codecs/wm8994.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
sound/soc/codecs/wm8994.c +1 -0
index 1a9ef7f..e1fb844 100644
@@ -3042,6 +3042,7 @@ static int wm8994_codec_probe(struct snd_soc_codec *codec)
 			wm8994->hubs.dcs_readback_mode = 2;
 			break;
 		}
+		break;
 
 	case WM8958:
 		wm8994->hubs.dcs_readback_mode = 1;
Signature · 1 line
1.7.5.4
Acked-by on v1 1/1
#1 lore raw
Quoted 13 lines · Mark Brown

This error would have no effect on current silicon revisions, the fall through case has the same behaviour.

---
 sound/soc/codecs/wm8994.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
sound/soc/codecs/wm8994.c +0 -0
index 1a9ef7f..e1fb844 100644

sound/soc/codecs/wm8994.c static int wm8994_codec_probe(struct snd_soc_codec *codec) · line 3048

Quoted 7 lines
sound/soc/codecs/wm8994.c +1 -0
@@ -3042,6 +3042,7 @@ static int wm8994_codec_probe(struct snd_soc_codec *codec)
 			wm8994->hubs.dcs_readback_mode = 2;
 			break;
 		}
+		break;
 
 	case WM8958:
 		wm8994->hubs.dcs_readback_mode = 1;