summaryrefslogtreecommitdiffstats
path: root/include/linux/unaligned
diff options
context:
space:
mode:
authorHeiko Stübner <heiko@sntech.de>2017-05-06 21:21:29 +0200
committerSimon Glass <sjg@chromium.org>2017-06-07 07:29:19 -0600
commitd1bf69d822724d427b23e289b0c2cf9275c1e99e (patch)
treeed73348a673044d374a2b8e633fec21a2aceb798 /include/linux/unaligned
parentf8e3b083777844196ecd7b422ff3cfd2df904144 (diff)
downloadu-boot-d1bf69d822724d427b23e289b0c2cf9275c1e99e.tar.gz
u-boot-d1bf69d822724d427b23e289b0c2cf9275c1e99e.tar.xz
u-boot-d1bf69d822724d427b23e289b0c2cf9275c1e99e.zip
power: rk808: fix ldo register offset
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>
Diffstat (limited to 'include/linux/unaligned')
0 files changed, 0 insertions, 0 deletions