1
0
Files
linux/drivers/net/ethernet
David Rivshin ae092b5bde drivers: net: cpsw: don't ignore phy-mode if phy-handle is used
The phy-mode emac property was only being processed in the phy_id
or fixed-link cases. However if phy-handle was specified instead,
an error message would complain about the lack of phy_id or
fixed-link, and then jump past the of_get_phy_mode(). This would
result in the PHY mode defaulting to MII, regardless of what the
devicetree specified.

Fixes: 9e42f71526 ("drivers: net: cpsw: add phy-handle parsing")
Signed-off-by: David Rivshin <drivshin@allworx.com>
Tested-by: Nicolas Chauvet <kwizart@gmail.com>
Tested-by: Andrew Goodbody <andrew.goodbody@cambrionix.com>
Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-04-28 17:27:30 -04:00
..
2016-03-01 15:19:43 -05:00
2016-02-25 16:51:04 -05:00
2016-03-03 17:17:14 -05:00
2016-02-25 16:51:05 -05:00
2016-02-17 16:15:45 -05:00
2016-04-24 14:45:04 -04:00
2016-04-28 14:21:15 -04:00
2016-04-28 16:37:56 -04:00
2016-03-07 15:39:45 -05:00