aboutsummaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorHaojian Zhuang <[email protected]>2012-12-03 16:14:37 +0800
committerMike Turquette <[email protected]>2013-01-11 18:43:27 -0800
commitbab53301c3846ae9a5e1142dca2976f434f70481 (patch)
tree2d872a2a8fc40d6f4975ee153f8d76f227d7813a /lib/debugobjects.c
parent4895084c87ab0973308021d755596798160b682a (diff)
clk: fixed-factor: round_rate should use do_div
clk->rate = parent->rate / div * mult The formula is OK. But it may overflow while we do operate with unsigned long. So use do_div instead. Signed-off-by: Haojian Zhuang <[email protected]> Signed-off-by: Mike Turquette <[email protected]> [[email protected]: improved $SUBJECT]
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions