net: ethernet: ti: cpsw: fix fixed-link phy probe deferral
authorJohan Hovold <johan@kernel.org>
Thu, 17 Nov 2016 16:40:04 +0000 (17:40 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Nov 2016 18:48:54 +0000 (13:48 -0500)
commit23a09873221c02106cf767a86743a55873f0d05b
tree8d1ba23a4f7991d290f884d4f27cbbd4a7cffe2c
parent3420ea88509f9d585b39f36e737022faf0286d9a
net: ethernet: ti: cpsw: fix fixed-link phy probe deferral

Make sure to propagate errors from of_phy_register_fixed_link() which
can fail with -EPROBE_DEFER.

Fixes: 1f71e8c96fc6 ("drivers: net: cpsw: Add support for fixed-link
PHY")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c