From: Weifeng Voon <[email protected]>
Date: Tue, 21 May 2019 13:38:38 +0800
> stmmac_init_chan() needs to be called before stmmac_init_rx_chan() and
> stmmac_init_tx_chan(). This is because if PBLx8 is to be used,
> "DMA_CH(#i)_Control.PBLx8" needs to be set before programming
> "DMA_CH(#i)_TX_Control.TxPBL" and "DMA_CH(#i)_RX_Control.RxPBL".
>
> Fixes: 47f2a9ce527a ("net: stmmac: dma channel init prepared for multiple
> queues")
> Reviewed-by: Zhang, Baoli <[email protected]>
> Signed-off-by: Ong Boon Leong <[email protected]>
> Signed-off-by: Weifeng Voon <[email protected]>
Applied and queued up for -stable.
Thanks.