Home
last modified time | relevance | path

Searched hist:"4 e6d575238b8a995b4561fd5dc049fe8abf0bc37" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/clk/rockchip/
H A Dclk_rk3308.c4e6d575238b8a995b4561fd5dc049fe8abf0bc37 Wed Jun 06 13:17:46 UTC 2018 Finley Xiao <finley.xiao@rock-chips.com> clk: rockchip: rk3308: Fix divisor for i2c, saradc, pwm and spi

Some divisor calculations were misrounded, causing higher than
requested rates on some clocks. Fix them up using DIV_ROUND_UP.

Change-Id: Ie90598d94e9a8dcde9c68ec9986ea200293c2d5b
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>