mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-09-30 11:22:09 +00:00
d1bf69d822
Till now get_ldo_reg did a return &rk808_ldo[num - 1]; to return the ldo register offset but didn't take into account that its calling functions already created the ldo as ldo = dev->driver_data - 1. This resulted in the setting for ldo8 writing to the register of ldo7 and so on. So fix this and get the correct ldo register data. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Acked-by: Simon Glass <sjg@chromium.org> |
||
---|---|---|
.. | ||
act8846.c | ||
fixed.c | ||
gpio-regulator.c | ||
Kconfig | ||
lp873x_regulator.c | ||
Makefile | ||
max77686.c | ||
palmas_regulator.c | ||
pfuze100.c | ||
pwm_regulator.c | ||
regulator-uclass.c | ||
rk8xx.c | ||
s5m8767.c | ||
sandbox.c | ||
tps65090_regulator.c |