Files
linux/drivers
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-04-02 01:17:36 +02:00
2016-03-23 17:52:10 +02:00
2016-04-21 20:57:46 +02:00
2016-04-16 22:52:03 +05:30
2016-04-07 22:11:08 +02:00
2016-04-14 16:54:00 +02:00
2016-04-25 16:20:49 -04:00
2016-04-20 10:38:06 +03:00
2016-04-04 11:18:00 +01:00