]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: ethernet: mtk_wed: add reset/reset_complete callbacks
authorLorenzo Bianconi <lorenzo@kernel.org>
Sat, 14 Jan 2023 17:01:32 +0000 (18:01 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 17 Jan 2023 10:36:45 +0000 (11:36 +0100)
commit08a764a7c51b01ccf8594a36b8d24b2d643bc5ed
tree331e02a2f040856434d4bdecf2c01beb2f12c802
parent93b2591ad0d0c1dee6974ecb4efb016c543894ae
net: ethernet: mtk_wed: add reset/reset_complete callbacks

Introduce reset and reset_complete wlan callback to schedule WLAN driver
reset when ethernet/wed driver is resetting.

Tested-by: Daniel Golle <daniel@makrotopia.org>
Co-developed-by: Sujuan Chen <sujuan.chen@mediatek.com>
Signed-off-by: Sujuan Chen <sujuan.chen@mediatek.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/mediatek/mtk_eth_soc.c
drivers/net/ethernet/mediatek/mtk_wed.c
drivers/net/ethernet/mediatek/mtk_wed.h
include/linux/soc/mediatek/mtk_wed.h