Re: [PATCH] i2c: return probe deferred status on dev_pm_domain_attach
From: Wolfram Sang
Date: Mon Oct 12 2015 - 03:23:28 EST
Hi Kiera,
On Sun, Oct 11, 2015 at 12:39:31PM +0100, Kieran Bingham wrote:
> A change of return status was introduced in commit 3fffd1283927
> ("i2c: allow specifying separate wakeup interrupt in device tree")
Thanks for catching this!
> The commit prevents the defer status being passed up the call stack
> appropriately when dev_pm_domain_attach returns -EPROBE_DEFER.
>
> To fix we change this back to the original return status;
What about going to the error path?
> Signed-off-by: Kieran Bingham <kieranbingham@xxxxxxxxx>
Please add a "Fixes: <sha1>" tag here.
Wolfram
Attachment:
signature.asc
Description: Digital signature