]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
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)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 23 Feb 2017 20:29:29 +0000 (14:29 -0600)
commit2a23cd7341e26964c31d65affdf02c0ae6983743
tree79db7dcd86cc9ed7aa105423442ac7785a6d2365
parent7e7498983a512664441b09ee51d795e687f35e65
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>
(cherry picked from commit 0f20276dd51bf4b74c7ba961c32fffb5a155fb1e)
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/net/ethernet/qualcomm/emac/emac-mac.c
drivers/net/ethernet/qualcomm/emac/emac-mac.h
drivers/net/ethernet/qualcomm/emac/emac.c