]> Git Repo - linux.git/commit
net: ethernet: mtk_eth_soc: fix WED + wifi reset
authorFelix Fietkau <[email protected]>
Tue, 16 Apr 2024 08:23:29 +0000 (10:23 +0200)
committerJakub Kicinski <[email protected]>
Thu, 18 Apr 2024 01:40:46 +0000 (18:40 -0700)
commit94667949ec3bbb2218c46ad0a0e7274c8832e494
treed5a02ce05c42059ec088c350ce2fa2d4dbb81a72
parentd362046021ea122309da8c8e0b6850c792ca97b5
net: ethernet: mtk_eth_soc: fix WED + wifi reset

The WLAN + WED reset sequence relies on being able to receive interrupts from
the card, in order to synchronize individual steps with the firmware.
When WED is stopped, leave interrupts running and rely on the driver turning
off unwanted ones.
WED DMA also needs to be disabled before resetting.

Fixes: f78cd9c783e0 ("net: ethernet: mtk_wed: update mtk_wed_stop")
Signed-off-by: Felix Fietkau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
drivers/net/ethernet/mediatek/mtk_wed.c
This page took 0.05567 seconds and 4 git commands to generate.