[U-Boot] [PATCH] power: rk808: fix ldo register offset
sjg at google.com
sjg at google.com
Wed May 24 00:48:09 UTC 2017
On 6 May 2017 at 13:21, Heiko Stuebner <heiko at sntech.de> wrote:
> 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 at sntech.de>
> ---
> drivers/power/regulator/rk8xx.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Acked-by: Simon Glass <sjg at chromium.org>
Applied to u-boot-rockchip, thanks!
More information about the U-Boot
mailing list