summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/net/cpsw.txt
diff options
context:
space:
mode:
authorDavid Rivshin <drivshin@allworx.com>2016-04-27 21:38:26 -0400
committerDavid S. Miller <davem@davemloft.net>2016-04-28 17:27:30 -0400
commitae092b5bded24d5dc7dae0e0aef4669c169ce874 (patch)
tree336a87e13d221fde490d46f077f00c986854bd23 /Documentation/devicetree/bindings/net/cpsw.txt
parentd733f7542ad47cf73e033c90cf55158587e1d060 (diff)
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: 9e42f715264f ("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>
Diffstat (limited to 'Documentation/devicetree/bindings/net/cpsw.txt')
0 files changed, 0 insertions, 0 deletions