Re: [PATCH V7 3/9] mailbox: Fix up error handling in mbox_request_channel()

2015-04-28 Thread Suman Anna
On 04/27/2015 05:37 PM, Andrew Bresticker wrote: > From: Benson Leung > > mbox_request_channel() currently returns EBUSY in the event the controller > is not present or if of_xlate() fails, but in neither case is EBUSY really > appropriate. Return EPROBE_DEFER if the controller is not yet presen

[PATCH V7 3/9] mailbox: Fix up error handling in mbox_request_channel()

2015-04-27 Thread Andrew Bresticker
From: Benson Leung mbox_request_channel() currently returns EBUSY in the event the controller is not present or if of_xlate() fails, but in neither case is EBUSY really appropriate. Return EPROBE_DEFER if the controller is not yet present and change of_xlate() to return an ERR_PTR instead of NUL