mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
ARM: OMAP: switch to gpio_direction_input
More switchover to the cross-platform GPIO interface: use gpio_direction_input(), not an OMAP-specific call. Signed-off-by: David Brownell <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
This commit is contained in:
parent
0b84b5ca43
commit
40e3925ba1
11 changed files with 16 additions and 16 deletions
|
|
@ -255,7 +255,7 @@ static int ohci_omap_init(struct usb_hcd *hcd)
|
|||
/* gpio9 for overcurrent detction */
|
||||
omap_cfg_reg(W8_1610_GPIO9);
|
||||
omap_request_gpio(9);
|
||||
omap_set_gpio_direction(9, 1 /* IN */);
|
||||
gpio_direction_input(9);
|
||||
|
||||
/* for paranoia's sake: disable USB.PUEN */
|
||||
omap_cfg_reg(W4_USB_HIGHZ);
|
||||
|
|
|
|||
Loading…
Reference in a new issue