
5 Dec
2017
5 Dec
'17
9:51 p.m.
On Tue, Nov 28, 2017 at 8:49 PM, Marek Vasut marek.vasut@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@gmail.com Cc: Joe Hershberger joe.hershberger@ni.com Cc: Nobuhiro Iwamatsu iwamatsu@nigauri.org
Acked-by: Joe Hershberger joe.hershberger@ni.com