pwm: sunxi: use new prescaler when configuring PWM
authorVasily Khoruzhick <anarsoul@gmail.com>
Wed, 17 Oct 2018 04:56:34 +0000 (21:56 -0700)
committerJagan Teki <jagan@amarulasolutions.com>
Wed, 24 Oct 2018 16:27:05 +0000 (21:57 +0530)
commitce138cb4294b85975b0c3ac8cf9e15a181462c25
tree6a3348ecaca7eb01a5e5dd6e8659284a17c247a9
parenta877d4b1aef70bbae556e156e6802b7d917546ab
pwm: sunxi: use new prescaler when configuring PWM

Looks like old prescaler was used when configuring PWM, fix it.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
drivers/pwm/sunxi_pwm.c