[PATCH 4/5] gpiolib: handle deferral probe error

Alan Cox alan at lxorguk.ukuu.org.uk
Fri Oct 7 06:06:15 EDT 2011

On Fri, 07 Oct 2011 10:33:09 +0500
"G, Manjunath Kondaiah" <manjugk at ti.com> wrote:

> The gpio library should return -EPROBE_DEFER in gpio_request
> if gpio driver is not ready.

Why not use the perfectly good existing error codes we have for this ?

We have EAGAIN and EUNATCH both of which look sensible.

More information about the linux-arm-kernel mailing list