]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
tegra: colibri_t30: asix usb ethernet reset regression
authorMarcel Ziswiler <marcel@ziswiler.com>
Fri, 10 Oct 2014 15:04:49 +0000 (17:04 +0200)
committerTom Warren <twarren@nvidia.com>
Wed, 22 Oct 2014 16:30:55 +0000 (09:30 -0700)
Fix ASIX USB to Ethernet reset which due to the new driver model Tegra
GPIO driver changes now requires a label string to be provided
otherwise the reservation and subsequent direction/value calls will
fail.

This fixes a regression introduced by commit:

2fccd2d96badcdf6165658a99771a4c475586279
tegra: Convert tegra GPIO driver to use driver model

Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
board/toradex/colibri_t30/colibri_t30.c

index ed043f49b37d70e2739b1c60ac061862cb70ccbf..f4bc7d8728eeda63a0df9b133c3f9fa5757180ee 100644 (file)
@@ -35,7 +35,7 @@ void pinmux_init(void)
 void pin_mux_usb(void)
 {
        /* Reset ASIX using LAN_RESET */
-       gpio_request(GPIO_PDD0, NULL);
+       gpio_request(GPIO_PDD0, "LAN_RESET");
        gpio_direction_output(GPIO_PDD0, 0);
        udelay(5);
        gpio_set_value(GPIO_PDD0, 1);