mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-09-21 07:01:57 +00:00
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:
2fccd2d96b
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>
This commit is contained in:
parent
1c1786d4c5
commit
622162f775
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue