diff options
author | Fugang Duan <fugang.duan@nxp.com> | 2020-12-07 18:51:38 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-12-21 13:28:16 +0100 |
commit | 583aadba7d12b5532197de9e1a412886f6d6d347 (patch) | |
tree | 0ae39890123350fa7c1c16f387bf7579ff44839d /drivers/spi | |
parent | b83ea02de8f3d6a6ae7c7979709e933e08ddd862 (diff) | |
download | linux-stable-583aadba7d12b5532197de9e1a412886f6d6d347.tar.gz linux-stable-583aadba7d12b5532197de9e1a412886f6d6d347.tar.bz2 linux-stable-583aadba7d12b5532197de9e1a412886f6d6d347.zip |
net: stmmac: start phylink instance before stmmac_hw_setup()
[ Upstream commit 36d18b5664ef617ccf4da266291d2f2342fab89d ]
Start phylink instance and resume back the PHY to supply
RX clock to MAC before MAC layer initialization by calling
.stmmac_hw_setup(), since DMA reset depends on the RX clock,
otherwise DMA reset cost maximum timeout value then finally
timeout.
Fixes: 74371272f97f ("net: stmmac: Convert to phylink and remove phylib logic")
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions