[PATCH 0/2] soc: rockchip: fix probe error path in power-domain driver

Heiko Stuebner heiko at sntech.de
Tue Nov 1 15:50:48 PDT 2016

Am Freitag, 16. September 2016, 00:14:37 CET schrieb Heiko Stuebner:
> A recent change to generic power-domains revealed that the rockchip
> driver cannot safely fail it's probe. Also pm_genpd_init creates a
> situation where a probe error leads to the generic power-domains
> accessing already freed data.
> The reason for us finding this issue (holes in power-domain lists), will
> get fixed in the generic power-domains, but the fixes below will only
> work after the newly added genpd-removal code got merged.
> Therefore I hope to remember to send the two patches below as fix after
> 4.9-rc1.
> Alternatively Rafael could include them into his branch directly.

I've applied now both in a fixes branch for 4.9 and plan on sending it through 
arm-soc later this week.

More information about the Linux-rockchip mailing list