Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364857
b: refs/heads/master
c: 2bef64b
h: refs/heads/master
i:
  364855: 39067c3
v: v3
  • Loading branch information
Roger Quadros authored and Greg Kroah-Hartman committed Apr 17, 2013
1 parent 3001caa commit 9523b14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 7c4ebe68ecdeaa6b2846863c29e248615c366e19
refs/heads/master: 2bef64b89ae315e7935067ce8db901783deaf857
4 changes: 2 additions & 2 deletions trunk/drivers/usb/host/ehci-omap.c
Original file line number Diff line number Diff line change
Expand Up @@ -175,12 +175,12 @@ static int ehci_hcd_omap_probe(struct platform_device *pdev)
phy = devm_usb_get_phy_by_phandle(dev, "phys", i);
else
phy = devm_usb_get_phy_dev(dev, i);
if (IS_ERR(phy) || !phy) {
if (IS_ERR(phy)) {
/* Don't bail out if PHY is not absolutely necessary */
if (pdata->port_mode[i] != OMAP_EHCI_PORT_MODE_PHY)
continue;

ret = IS_ERR(phy) ? PTR_ERR(phy) : -ENODEV;
ret = PTR_ERR(phy);
dev_err(dev, "Can't get PHY device for port %d: %d\n",
i, ret);
goto err_phy;
Expand Down

0 comments on commit 9523b14

Please sign in to comment.