]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit059900944c273901c7805a7c0d23c9532c09b58e
tree3907a433dbbb280f06c946820508809c0cea59e3
parentbb8aca63cf91f58b344d0e6305b5788d51d5526a
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