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: Maxime Ripard's avatarMaxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: default avatarJagan Teki <jagan@openedev.com>
parent ce138cb4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment