Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123732
b: refs/heads/master
c: 944e1bf
h: refs/heads/master
v: v3
  • Loading branch information
Jarkko Nikula authored and Tony Lindgren committed Dec 11, 2008
1 parent 8301422 commit af5ee6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f2d18fea8b87d09bdda22cc67c36f5f463452a33
refs/heads/master: 944e1bffb6517590be48dd428d9b73da9fea801c
6 changes: 3 additions & 3 deletions trunk/drivers/usb/host/ohci-omap.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
#include <linux/jiffies.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/gpio.h>

#include <mach/hardware.h>
#include <asm/io.h>
#include <asm/mach-types.h>

#include <mach/mux.h>
#include <mach/irqs.h>
#include <mach/gpio.h>
#include <mach/fpga.h>
#include <mach/usb.h>

Expand Down Expand Up @@ -254,7 +254,7 @@ static int ohci_omap_init(struct usb_hcd *hcd)

/* gpio9 for overcurrent detction */
omap_cfg_reg(W8_1610_GPIO9);
omap_request_gpio(9);
gpio_request(9, "OHCI overcurrent");
gpio_direction_input(9);

/* for paranoia's sake: disable USB.PUEN */
Expand Down Expand Up @@ -407,7 +407,7 @@ usb_hcd_omap_remove (struct usb_hcd *hcd, struct platform_device *pdev)
put_device(ohci->transceiver->dev);
}
if (machine_is_omap_osk())
omap_free_gpio(9);
gpio_free(9);
iounmap(hcd->regs);
release_mem_region(hcd->rsrc_start, hcd->rsrc_len);
usb_put_hcd(hcd);
Expand Down

0 comments on commit af5ee6f

Please sign in to comment.