]> git.sur5r.net Git - u-boot/commit
rockchip: rk8xx: allocate priv structure for driver
authorKever Yang <kever.yang@rock-chips.com>
Fri, 5 May 2017 06:50:56 +0000 (14:50 +0800)
committerSimon Glass <sjg@chromium.org>
Wed, 7 Jun 2017 12:57:49 +0000 (06:57 -0600)
commit7c1fb0a794791c7fea3d0d37f4f54d6ce9177e6f
tree44409e92aced56d7bda42b94a7bda96ba8710928
parentc4a921513a77e6be5c8fbf68df72deb899ce9c37
rockchip: rk8xx: allocate priv structure for driver

The rk8xx_priv structure need to allocate for driver, or else
it will cause data abort when CPU access it.

This is a bug fix for below patch set:
https://www.mail-archive.com/u-boot@lists.denx.de/msg247345.html

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/power/pmic/rk8xx.c