projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1a0a29
)
ASoC: wm8994: missing break in wm8994_get_fll_config()
author
Dan Carpenter
<dan.carpenter@oracle.com>
Wed, 15 May 2013 07:09:43 +0000
(10:09 +0300)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Sat, 18 May 2013 11:25:49 +0000
(12:25 +0100)
Smatch complains that:
sound/soc/codecs/wm8994.c:2087 wm8994_get_fll_config()
warn: missing break? reassigning 'fll->k'
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8994.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8994.c
b/sound/soc/codecs/wm8994.c
index 9f32dd8660d59ca77873725ae256d876ba0d3832..303d755b9342db32aded98c6438967c3d536d9e1 100644
(file)
--- a/
sound/soc/codecs/wm8994.c
+++ b/
sound/soc/codecs/wm8994.c
@@
-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);