summaryrefslogtreecommitdiff
path: root/include/linux/serdev.h
diff options
context:
space:
mode:
authorZhi-Jun You <hujy652@gmail.com>2026-10-26 17:57:31 +0800
committerJakub Kicinski <kuba@kernel.org>2026-10-30 16:03:39 -0700
commitdd6efae5529107cc8db277eaeaff5c5f15e6bc15 (patch)
tree969b1243b5d57be2cf514b7d4eba42da3e240fdf /include/linux/serdev.h
parent5b8d12512cbd3495dbd8c38e8047bb5d716f0f3f (diff)
net: ethernet: mtk_wed: setup WDMA_RING_TX(0) for non-DBDC MT7986
WDMA_RING_TX(0) is required to set MTK_WED_WDMA_RING_TX for WED RX but on a non-DBDC MT7986 it is never setup because idx is 1. Setting MTK_WED_WDMA_RING_TX with WDMA_RING_TX(1) is not feasible because WED still tries to send through WDMA_RING_TX(0). This is verified with register dump. Fix this by calling mtk_wed_wdma_tx_ring_setup if wed is v2 and rx_ring[0] is not allocated and reset tx_wdma[0] if it's already allocated also add error messages and bail when mtk_wed_start fails. Fixes: 4c5de09eb0d0 ("net: ethernet: mtk_wed: add configure wed wo support") Signed-off-by: Zhi-Jun You <hujy652@gmail.com> Link: https://patch.msgid.link/20261026-wedfix-v6-4-a52f6b15d2fc@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/serdev.h')
0 files changed, 0 insertions, 0 deletions