[v2,3/3] ARM: mx5/mx51_babbage: Fix the msleep placement

Submitted by Fabio Estevam on April 29, 2011, 12:43 a.m.

Details

Message ID 1304037804-4411-3-git-send-email-festevam@gmail.com
State New
Headers show

Commit Message

Fabio Estevam April 29, 2011, 12:43 a.m.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/mach-mx5/board-mx51_babbage.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch hide | download patch | download mbox

diff --git a/arch/arm/mach-mx5/board-mx51_babbage.c b/arch/arm/mach-mx5/board-mx51_babbage.c
index 00203fb..1c4704a 100644
--- a/arch/arm/mach-mx5/board-mx51_babbage.c
+++ b/arch/arm/mach-mx5/board-mx51_babbage.c
@@ -186,8 +186,8 @@  static int gpio_usbh1_active(void)
 		pr_debug("failed to get MX51_PAD_USBH1_STP__GPIO_1_27: %d\n", ret);
 		return ret;
 	}
-	gpio_set_value(BABBAGE_USBH1_STP, 1);
 	msleep(100);
+	gpio_set_value(BABBAGE_USBH1_STP, 1);
 	gpio_free(BABBAGE_USBH1_STP);
 
 	/* De-assert USB PHY RESETB */