The recent changes to the RK808 driver caused our BSP to sync-abort in the regulator framework, when setting (or rather 'auto-setting') some of the LDOs.
Turns out that the auto-allocation of the priv-structure in the rk8xx driver was never properly wired up... this commit fixes this issue by setting the .priv_auto_alloc_size-field in the driver structure. X-AffectedPlatforms: RK3399-Q7 Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- drivers/power/pmic/rk8xx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/power/pmic/rk8xx.c b/drivers/power/pmic/rk8xx.c index 394e2ff..ff3bff0 100644 --- a/drivers/power/pmic/rk8xx.c +++ b/drivers/power/pmic/rk8xx.c @@ -115,4 +115,5 @@ U_BOOT_DRIVER(pmic_rk8xx) = { #endif .probe = rk8xx_probe, .ops = &rk8xx_ops, + .priv_auto_alloc_size = sizeof(struct rk8xx_priv), }; -- 1.9.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot