mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-17 19:12:35 +09:00
Revert "Fix rounding in clocks_calc_mult_shift()"
This reverts commit 2455208a7a.
This commit is contained in:
@@ -152,7 +152,6 @@ clocks_calc_mult_shift(u32 *mult, u32 *shift, u32 from, u32 to, u32 minsec)
|
||||
*/
|
||||
for (sft = 32; sft > 0; sft--) {
|
||||
tmp = (u64) to << sft;
|
||||
tmp += from / 2;
|
||||
do_div(tmp, from);
|
||||
if ((tmp >> sftacc) == 0)
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user