[U-Boot] [PATCH] net: ravb: Fix reset GPIO handling

Joe Hershberger joe.hershberger at ni.com
Tue Dec 5 20:51:23 UTC 2017


On Tue, Nov 28, 2017 at 8:49 PM, Marek Vasut <marek.vasut at gmail.com> wrote:
> Fix handling of the reset GPIO. Drop the _nodev() suffix from the
> gpio_request_by_name() call as there is now a proper DM capable
> GPIO driver. Also check if the GPIO is valid before freeing it in
> remove path, otherwise U-Boot will crash.
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas at gmail.com>
> Cc: Joe Hershberger <joe.hershberger at ni.com>
> Cc: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list