diff options
author | Quan Nguyen <qnguyen@apm.com> | 2017-08-30 01:43:12 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-30 02:13:08 +0300 |
commit | 183db481279437590f75a8a0479d512e5dd597de (patch) | |
tree | 8deb8f4c1b199361c6d0fa519771cbc1767ec816 /drivers/net/ethernet/ti/cpsw-common.c | |
parent | e7562597b46d099a78d45c781ee8d1a7a93c53f1 (diff) | |
download | linux-183db481279437590f75a8a0479d512e5dd597de.tar.xz |
drivers: net: xgene: Correct probe sequence handling
The phy is connected at early stage of probe but not properly
disconnected if error occurs. This patch fixes the issue.
Also changing the return type of xgene_enet_check_phy_handle(),
since this function always returns success.
Signed-off-by: Quan Nguyen <qnguyen@apm.com>
Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/cpsw-common.c')
0 files changed, 0 insertions, 0 deletions