net: qcom/emac: do not call emac_mac_start twice
authorTimur Tabi <timur@codeaurora.org>
Fri, 27 Jan 2017 22:43:45 +0000 (16:43 -0600)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Jan 2017 00:07:02 +0000 (19:07 -0500)
commit0f20276dd51bf4b74c7ba961c32fffb5a155fb1e
tree21f7a5b3d071f91d0918d3971971bb149238cea6
parent3db5d555eaec44ee0e1c80194963c4256b23f6ee
net: qcom/emac: do not call emac_mac_start twice

emac_mac_start() uses information from the external PHY to program
the MAC, so it makes no sense to call it before the link is up.

Signed-off-by: Timur Tabi <timur@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/emac/emac-mac.c
drivers/net/ethernet/qualcomm/emac/emac-mac.h
drivers/net/ethernet/qualcomm/emac/emac.c