rtw88: pci: reset dma when reset pci trx ring
authorChin-Yen Lee <timlee@realtek.com>
Thu, 19 Dec 2019 08:58:11 +0000 (16:58 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Sun, 26 Jan 2020 15:37:00 +0000 (17:37 +0200)
commitfd30e891e0bc68735b52d480d078959e5fb30e70
tree3907a433dbbb280f06c946820508809c0cea59e3
parent25cab7e71da32d46651f5fc9373eef9b79938629
rtw88: pci: reset dma when reset pci trx ring

When PCI trx rings are reset, the DMA engine should also be reset.
Otherswise, the rx_tag of rx flow is not synchronous to hw.

Remove DMA reset when rtw_pci_start() as we added it in
rtw_pci_setup().

Signed-off-by: Chin-Yen Lee <timlee@realtek.com>
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Reviewed-by: Chris Chiu <chiu@endlessm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/pci.c