Please sign in to comment.
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@example.com> Signed-off-by: Mike Turquette <firstname.lastname@example.org> [email@example.com: improved $SUBJECT]
- Loading branch information...