[PATCH 4/4] PM / Domains: Let the ->attach_dev() callback return an error code
From: Ulf Hansson <hidden>
Date: 2014-10-29 09:26:35
Also in:
linux-pm, linux-samsung-soc
From: Ulf Hansson <hidden>
Date: 2014-10-29 09:26:35
Also in:
linux-pm, linux-samsung-soc
On 28 October 2014 21:31, Geert Uytterhoeven [off-list ref] wrote:
Hi Ulf, Rafael, On Tue, Oct 28, 2014 at 3:38 PM, Ulf Hansson [off-list ref] wrote:quoted
Typically an ->attach_dev() callback would fetch some PM resourses. Those operations, like for example clk_get() may fail with different errors, including -EPROBE_DEFER. Instead of ignoring these errors and potentially only print an error message, let's propagate them to give callers the option to handle them. Signed-off-by: Ulf Hansson <redacted>Given that several patch series using ->attach_dev() are already floating around and will be in -next soon, what is the plan of getting this in? Doing it ASAP (in v3.18-rc3)? Delaying this to v3.19-rc2, which will require an atomic fixing of its users? Any other option?
I would prefer if we consider 3.18-rc[x|. That's applies also to the below patchset, which actually fixes an issue. It would simplify the process of handling other SOC specific patches which adds PM domain support. [PATCH v3 0/9] PM / Domains: Fix race conditions during boot Obviously the patches needs to be reviewed, I guess we are still in the process of doing that. Kind regards Uffe