Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 338571
b: refs/heads/master
c: 5746510
h: refs/heads/master
i:
  338569: c38fd48
  338567: 15dec47
v: v3
  • Loading branch information
Vincent Palatin authored and Greg Kroah-Hartman committed Nov 2, 2012
1 parent c1ca83e commit efcd3f1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 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: d1bb67a7a2a5a5ff49b0ef4d191725769243e639
refs/heads/master: 57465109ce6c62e57b98788496c823c2067253c0
10 changes: 6 additions & 4 deletions trunk/drivers/usb/host/ohci-exynos.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,18 @@ struct exynos_ohci_hcd {
struct clk *clk;
};

static int ohci_exynos_reset(struct usb_hcd *hcd)
{
return ohci_init(hcd_to_ohci(hcd));
}

static int ohci_exynos_start(struct usb_hcd *hcd)
{
struct ohci_hcd *ohci = hcd_to_ohci(hcd);
int ret;

ohci_dbg(ohci, "ohci_exynos_start, ohci:%p", ohci);

ret = ohci_init(ohci);
if (ret < 0)
return ret;

ret = ohci_run(ohci);
if (ret < 0) {
dev_err(hcd->self.controller, "can't start %s\n",
Expand All @@ -53,6 +54,7 @@ static const struct hc_driver exynos_ohci_hc_driver = {
.irq = ohci_irq,
.flags = HCD_MEMORY|HCD_USB11,

.reset = ohci_exynos_reset,
.start = ohci_exynos_start,
.stop = ohci_stop,
.shutdown = ohci_shutdown,
Expand Down

0 comments on commit efcd3f1

Please sign in to comment.