diff options
author | Marcel Ziswiler <marcel@ziswiler.com> | 2014-10-10 17:03:02 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2014-10-10 17:05:17 +0200 |
commit | 08eb92c1d7356e9ad55ee1aada475f895b63f4be (patch) | |
tree | b0e011724583c12989ac0f0f68fd3ef44c6ce528 /board | |
parent | 9de699d87e5eadac377d40b0e1f948ca0950d4d3 (diff) |
tegra: colibri_t30: asix usb ethernet reset regression
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>
Diffstat (limited to 'board')
-rw-r--r-- | board/toradex/colibri_t30/colibri_t30.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/toradex/colibri_t30/colibri_t30.c b/board/toradex/colibri_t30/colibri_t30.c index ed043f49b37..f4bc7d8728e 100644 --- a/board/toradex/colibri_t30/colibri_t30.c +++ b/board/toradex/colibri_t30/colibri_t30.c @@ -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); |