projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4308056
)
clk: mmp: fix wrong mask when calculate denominator
author
Chao Xie
<chao.xie@marvell.com>
Thu, 23 Jan 2014 02:47:40 +0000
(10:47 +0800)
committer
Mike Turquette
<mturquette@linaro.org>
Thu, 27 Mar 2014 03:59:26 +0000
(20:59 -0700)
The code has typo when calculate denominator. It should use
den_mask instead of num_mask.
Signed-off-by: Chao Xie <chao.xie@marvell.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/mmp/clk-frac.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/clk/mmp/clk-frac.c
b/drivers/clk/mmp/clk-frac.c
index 80c1dd15d15cf267270cacb34549cb9cc304eb27..f6e7691c4efa814d1113606c3a5b8ffc6b3bea84 100644
(file)
--- a/
drivers/clk/mmp/clk-frac.c
+++ b/
drivers/clk/mmp/clk-frac.c
@@
-64,7
+64,7
@@
static unsigned long clk_factor_recalc_rate(struct clk_hw *hw,
num = (val >> masks->num_shift) & masks->num_mask;
/* calculate denominator */
- den = (val >> masks->den_shift) & masks->
num
_mask;
+ den = (val >> masks->den_shift) & masks->
den
_mask;
if (!den)
return 0;
This page took
0.026142 seconds
and
5
git commands to generate.