ARM: mx5/mx51_babbage: Use gpio_request_array for USBH1 pins
authorFabio Estevam <festevam@gmail.com>
Sat, 28 May 2011 13:54:36 +0000 (10:54 -0300)
committerSascha Hauer <s.hauer@pengutronix.de>
Thu, 7 Jul 2011 07:59:56 +0000 (09:59 +0200)
commit72370a5cc28f9efc94a4d7d7dff2ebcb76139088
tree9d7acd5a8b04ca565f81bf1a7a97ec2f68bef95b
parent2e7b1bfcb98dd232faf85b4a0a2611a49454c2ea
ARM: mx5/mx51_babbage: Use gpio_request_array for USBH1 pins

Instead of using gpio_request followed by gpio_direction_output use gpio_request_array
when requesting multiple pins.

Also fixed the location of the delay for the reset and make the BABBAGE_USB_PHY_RESET to toggle.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mx5/board-mx51_babbage.c