Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 200675
b: refs/heads/master
c: 4c9715d
h: refs/heads/master
i:
  200673: b57a394
  200671: 8833c4a
v: v3
  • Loading branch information
Wolfram Sang authored and Greg Kroah-Hartman committed Jun 30, 2010
1 parent 6f28b22 commit d2ecddf
Show file tree
Hide file tree
Showing 2 changed files with 11 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: 7b4a036722cfab2b3922685ad473fac35a55c3fa
refs/heads/master: 4c9715de52b9b6256bf1e9510917111a47b0c176
13 changes: 10 additions & 3 deletions trunk/drivers/usb/host/ehci-mxc.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,17 @@ static int ehci_mxc_drv_probe(struct platform_device *pdev)
/* Initialize the transceiver */
if (pdata->otg) {
pdata->otg->io_priv = hcd->regs + ULPI_VIEWPORT_OFFSET;
if (otg_init(pdata->otg) != 0)
dev_err(dev, "unable to init transceiver\n");
else if (otg_set_vbus(pdata->otg, 1) != 0)
ret = otg_init(pdata->otg);
if (ret) {
dev_err(dev, "unable to init transceiver, probably missing\n");
ret = -ENODEV;
goto err_add;
}
ret = otg_set_vbus(pdata->otg, 1);
if (ret) {
dev_err(dev, "unable to enable vbus on transceiver\n");
goto err_add;
}
}

priv->hcd = hcd;
Expand Down

0 comments on commit d2ecddf

Please sign in to comment.