]> git.dujemihanovic.xyz Git - u-boot.git/commit
power: pwm_regulator: fix the pwm_set_config parameter order
authorKever Yang <kever.yang@rock-chips.com>
Wed, 19 Jul 2017 11:54:21 +0000 (19:54 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Thu, 27 Jul 2017 12:59:01 +0000 (14:59 +0200)
commitf339bca248f8060258c8e53fd9388dc6ca689af3
tree4df5908443e6b3a36da73809b4f2e95edce19328
parent7ba3182e2d92190b7512db35ecda71970a206207
power: pwm_regulator: fix the pwm_set_config parameter order

The rkpwm reg order has fixed by below patch:
e3ef41d rockchip: pwm: fix the register layout for the PWM controller

We need to correct the parameter order for pwm_set_config() to make
the pwm regulator works correctly.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
drivers/power/regulator/pwm_regulator.c