From: Timur Tabi Date: Fri, 23 Jun 2017 19:33:29 +0000 (-0500) Subject: net: qcom/emac: do not reset the EMAC during initialization X-Git-Tag: pci-v4.13-fixes-1~86^2~90^2~1 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=867ae6abc24967188db0914de170512e36592eb3;p=users%2Fdwmw2%2Flinux.git net: qcom/emac: do not reset the EMAC during initialization On ACPI systems, the driver depends on firmware pre-initializing the EMAC because we don't have access to the clocks, and the EMAC has specific clock programming requirements. Therefore, we don't want to reset the EMAC while we are completing the initialization. Tested-by: Richard Ruigrok Signed-off-by: Timur Tabi Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/qualcomm/emac/emac.c b/drivers/net/ethernet/qualcomm/emac/emac.c index 77c5c929f1415..746d94e28470f 100644 --- a/drivers/net/ethernet/qualcomm/emac/emac.c +++ b/drivers/net/ethernet/qualcomm/emac/emac.c @@ -683,8 +683,6 @@ static int emac_probe(struct platform_device *pdev) goto err_undo_mdiobus; } - emac_mac_reset(adpt); - /* set hw features */ netdev->features = NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_RXCSUM | NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_HW_VLAN_CTAG_RX |