]> git.baikalelectronics.ru Git - kernel.git/commit
net: qcom/emac: do not reset the EMAC during initialization
authorTimur Tabi <timur@codeaurora.org>
Fri, 23 Jun 2017 19:33:29 +0000 (14:33 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Jun 2017 15:44:29 +0000 (11:44 -0400)
commit790812b206e27c9b35d95310bfb234d381ea64c2
treeca69393db13f403b2a9235bccd5cf805dd0ee8cf
parente13420ac61b5da4cc155be3921dba7c010a722fb
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 <rruigrok@codeaurora.org>
Signed-off-by: Timur Tabi <timur@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/emac/emac.c