mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 15:37:23 +00:00
mx6qsabrelite: No need to set the direction for GPIO3_23 again
There is a 'gpio_direction_output(87, 0);' call previously, so the GPIO direction is already established. Use gpio_set_value() for changing the GPIO output then. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Dirk Behme <dirk.behme@googlemail.com>
This commit is contained in:
parent
20831061d8
commit
bdb9f7604d
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ static void setup_iomux_enet(void)
|
|||
|
||||
/* Need delay 10ms according to KSZ9021 spec */
|
||||
udelay(1000 * 10);
|
||||
gpio_direction_output(87, 1); /* GPIO 3-23 */
|
||||
gpio_set_value(87, 1); /* GPIO 3-23 */
|
||||
|
||||
imx_iomux_v3_setup_multiple_pads(enet_pads2, ARRAY_SIZE(enet_pads2));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue