Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287478
b: refs/heads/master
c: cb0a178
h: refs/heads/master
v: v3
  • Loading branch information
Julia Lawall authored and David S. Miller committed Feb 2, 2012
1 parent 24ae2dc commit bb97a89
Show file tree
Hide file tree
Showing 3 changed files with 4 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: 4b8a8bc9249f144803d840f2f7608ee9bbf1ea51
refs/heads/master: cb0a178c787d2bdf787d56e364becdb0eb4b4fab
3 changes: 2 additions & 1 deletion trunk/drivers/net/ethernet/ti/davinci_emac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1600,8 +1600,9 @@ static int emac_dev_open(struct net_device *ndev)
if (IS_ERR(priv->phydev)) {
dev_err(emac_dev, "could not connect to phy %s\n",
priv->phy_id);
ret = PTR_ERR(priv->phydev);
priv->phydev = NULL;
return PTR_ERR(priv->phydev);
return ret;
}

priv->link = 0;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/ethernet/ti/davinci_mdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,9 @@ static int __devinit davinci_mdio_probe(struct platform_device *pdev)

data->clk = clk_get(dev, NULL);
if (IS_ERR(data->clk)) {
data->clk = NULL;
dev_err(dev, "failed to get device clock\n");
ret = PTR_ERR(data->clk);
data->clk = NULL;
goto bail_out;
}

Expand Down

0 comments on commit bb97a89

Please sign in to comment.