Re: [PATCH] gpiolib: Don't return -EPROBE_DEFER to sysfs, or forinvalid gpios

From: Linus Walleij
Date: Fri Oct 26 2012 - 03:26:32 EST


On Thu, Oct 25, 2012 at 1:03 PM, Mathias Nyman
<mathias.nyman@xxxxxxxxxxxxxxx> wrote:

> gpios requested with invalid numbers, or gpios requested from userspace via sysfs
> should not try to be deferred on failure.
>
> Signed-off-by: Mathias Nyman <mathias.nyman@xxxxxxxxxxxxxxx>

Very good catch. I applied this to my fixes branch and also
put the stable tag on this thing, it goes way back to the introduction
of deffered probe.

Mark: OK with this?

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/