Skip to content
Commit c33ba7ec authored by Vasily Khoruzhick's avatar Vasily Khoruzhick Committed by Jagan Teki
Browse files

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: default avatarVasily Khoruzhick <anarsoul@gmail.com>
Tested-by: default avatarVagrant Cascadian <vagrant@debian.org>
Acked-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: default avatarJagan Teki <jagan@openedev.com>
parent ce138cb4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment