[PATCH] gpio: omap: Fix GPIO numbering for deferred probe

Linus Walleij linus.walleij at linaro.org
Tue Sep 8 07:14:30 PDT 2015


On Thu, Sep 3, 2015 at 7:31 PM, Tony Lindgren <tony at atomide.com> wrote:

> If gpio-omap probe fails with -EPROBE_DEFER, the GPIO numbering
> keeps increasing. Only increase the gpio count if gpiochip_add()
> was successful as otherwise the numbers will increase for each
> probe attempt.
>
> Cc: Grygorii Strashko <grygorii.strashko at ti.com>
> Cc: Javier Martinez Canillas <javier at dowhile0.org>
> Cc: Kevin Hilman <khilman at deeprootsystems.com>
> Cc: Santosh Shilimkar <ssantosh at kernel.org>
> Signed-off-by: Tony Lindgren <tony at atomide.com>

Patch applied with Grygorii's review tag.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list