diff options
author | Vasily Khoruzhick <anarsoul@gmail.com> | 2018-10-16 21:56:35 -0700 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2018-10-24 21:57:16 +0530 |
commit | c33ba7ec8b9be0a6fe7a2bd47a36c991bf9189e1 (patch) | |
tree | 333e1b626d6becaad36126be9ea68963ccf54742 /include/power | |
parent | ce138cb4294b85975b0c3ac8cf9e15a181462c25 (diff) |
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 <anarsoul@gmail.com>
Tested-by: Vagrant Cascadian <vagrant@debian.org>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Diffstat (limited to 'include/power')
0 files changed, 0 insertions, 0 deletions