alistair23-linux/drivers/mailbox
Benson Leung 2d805fc1c6 mailbox: Fix up error handling in mbox_request_channel()
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 NULL so that the
error can be propagated back to the caller of mbox_request_channel().

Signed-off-by: Benson Leung <bleung@chromium.org>
Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Acked-by: Suman Anna <s-anna@ti.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
2015-05-12 09:18:21 +05:30
..
arm_mhu.c mailbox: Make mbox_chan_ops const 2015-05-12 09:18:16 +05:30
Kconfig mailbox: altera: Add dependency on HAS_IOMEM 2015-05-12 09:18:11 +05:30
mailbox-altera.c mailbox: Make mbox_chan_ops const 2015-05-12 09:18:16 +05:30
mailbox.c mailbox: Fix up error handling in mbox_request_channel() 2015-05-12 09:18:21 +05:30
mailbox.h Mailbox: Add support for Platform Communication Channel 2014-11-27 12:51:09 +05:30
Makefile mailbox: arm_mhu: add driver for ARM MHU controller 2015-03-17 11:12:01 +05:30
omap-mailbox.c mailbox: Fix up error handling in mbox_request_channel() 2015-05-12 09:18:21 +05:30
pcc.c mailbox: Make mbox_chan_ops const 2015-05-12 09:18:16 +05:30
pl320-ipc.c mailbox: rename pl320-ipc specific mailbox.h 2014-10-08 10:39:33 +05:30