[lkml]   [2016]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/2] soc: rockchip: fix probe error path in power-domain driver
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

Alternatively Rafael could include them into his branch directly.

Heiko Stuebner (1):
soc: rockchip: power-domain: use pm_genpd_remove in error cleanup

Tomeu Vizoso (1):
soc: rockchip: power-domain: Handle errors from

drivers/soc/rockchip/pm_domains.c | 17 +++++++++++++++--
1 file changed, 15 insertions(+), 2 deletions(-)


 \ /
  Last update: 2016-09-17 09:59    [W:0.203 / U:0.656 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site