USB: ohci-at91 uses generic GPIO calls
authorDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 27 Dec 2007 19:19:49 +0000 (11:19 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 22:35:01 +0000 (14:35 -0800)
commit4bde4a4c4ff53e67cde4b0fe630d6fc28106bff8
tree2974db90544830883700844cc3ef65c1d2108d81
parent979e524a9c563376af096d2d8629b9969fc06659
USB: ohci-at91 uses generic GPIO calls

Update the ohci-at91 bus glue to start understanding about the per-port
power switch GPIOs it's given (on the sam9263-ek and potentially other
boards).  For the moment this just claims them and forces them active
(assuming active-low power enables) whenever the HCD is loaded.

The assumption is still that board setup configures the GPIOs.  Using
gpio_request() tracks actual usage and guards against conflict.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ohci-at91.c