Re: [PATCH] gpiolib: Initialize gdev field before is used
From: Linus Walleij
Date: Fri Oct 12 2018 - 04:17:17 EST
On Fri, Oct 12, 2018 at 8:11 AM Ricardo Ribalda Delgado
<ricardo.ribalda@xxxxxxxxx> wrote:
> gpio_hog depends on gdev field being initialized. This patch fixes an
> OOPs during initialization of TI's AM335x-ICEv2.
>
> Fixes: 3edfb7bd76bd1cba ("gpiolib: Show correct direction from the beginning")
> Tested-by: Vignesh R <vigneshr@xxxxxx>
> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@xxxxxxxxx>
Patch applied. Thanks to both of you for sorting this out!
Yours,
Linus Walleij