]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Mon, 30 May 2011 06:34:50 +0000 (08:34 +0200)
commitc97ebbef8f9b0898882521b9ba98f2862a59cd7b
tree1c57f890e250088164baf102c2fa159d951a7766
parent9d3e6e5e89f898162f99ee54b5e355b05c31da9f
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