]> Git Repo - J-u-boot.git/commit
pwm: sunxi: choose best prescaler to improve PWM resolution
authorVasily Khoruzhick <[email protected]>
Wed, 17 Oct 2018 04:56:35 +0000 (21:56 -0700)
committerJagan Teki <[email protected]>
Wed, 24 Oct 2018 16:27:16 +0000 (21:57 +0530)
commitc33ba7ec8b9be0a6fe7a2bd47a36c991bf9189e1
tree333e1b626d6becaad36126be9ea68963ccf54742
parentce138cb4294b85975b0c3ac8cf9e15a181462c25
pwm: sunxi: choose best prescaler to improve PWM resolution

Choose best prescaler to improve PWM resolution. Without this change
driver chooses first prescaler that gives us period value within
range, but it could be not the best one.

Signed-off-by: Vasily Khoruzhick <[email protected]>
Tested-by: Vagrant Cascadian <[email protected]>
Acked-by: Maxime Ripard <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
drivers/pwm/sunxi_pwm.c
This page took 0.033444 seconds and 4 git commands to generate.