Re: [PATCH 2/4] net: stmmac: start phylink instance before stmmac_hw_setup()

2020-12-03 Thread Jakub Kicinski
On Wed, 2 Dec 2020 16:59:47 +0800 Joakim Zhang wrote: > From: Fugang Duan > > 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 ti

[PATCH 2/4] net: stmmac: start phylink instance before stmmac_hw_setup()

2020-12-02 Thread Joakim Zhang
From: Fugang Duan 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. Signed-off-by: Fugang Duan Sign