commit | eb7c7820a2bdec43a5ed457e0c606ffe0e9f0cc9 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut+renesas@gmail.com> | Thu Nov 09 22:49:19 2017 +0100 |
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | Thu Nov 30 02:32:34 2017 +0100 |
tree | d0bca742828f8c3c10c1fdef8311e2091a1a0176 | |
parent | 125d8df28ff60640d85ca838aad225a3a64e2072 [diff] |
net: ravb: Fix reset GPIO handling 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>