summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWeifeng Voon <weifeng.voon@intel.com>2019-05-21 13:38:38 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-04 08:02:33 +0200
commita1a926fc68c7610b59df314e8fd549c3a8bad147 (patch)
tree8991ac8bea1c44e13ae5f71b4d1682adc40e30f4 /include
parent1db0bcc27c78e9b28ca02bf39d645adf0c1acd76 (diff)
net: stmmac: dma channel control register need to be init first
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 <baoli.zhang@intel.com> Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com> Signed-off-by: Weifeng Voon <weifeng.voon@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions