Skip to contentSkip to conversation

ASoC: wm8994: missing break in wm8994_get_fll_config()

PATCH Applied Dan Carpenter 2 participants 2 messages May 15, 2013 – May 18, 2013

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: wm8994: missing break in wm8994_get_fll_config()

Smatch complains that:

	sound/soc/codecs/wm8994.c:2087 wm8994_get_fll_config()
		warn: missing break? reassigning 'fll->k'
sound/soc/codecs/wm8994.c +1 -0
index 9f32dd8..303d755 100644
@@ -2080,6 +2080,7 @@ static int wm8994_get_fll_config(struct wm8994 *control, struct fll_div *fll,
 		fll->k = K / 10;
 
 		pr_debug("N=%x K=%x\n", fll->n, fll->k);
+		break;
 
 	default:
 		gcd_fll = gcd(freq_out, freq_in);
maintainer Applied
#1 lore raw
Quoted 6 lines · Dan Carpenter

Smatch complains that:

	sound/soc/codecs/wm8994.c:2087 wm8994_get_fll_config()
		warn: missing break? reassigning 'fll->k'

Applied, thanks.