]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: mt76: mt7925: fix the unfinished command of regd_notifier before suspend
authorQuan Zhou <quan.zhou@mediatek.com>
Mon, 5 Jan 2026 11:16:26 +0000 (12:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Jan 2026 09:15:02 +0000 (10:15 +0100)
commit08c5a901fdf0bb991312fe4e0a1ea1f86b9ab657
treeded6e4de7f8cbdaf3768008f41a0e59675af4935
parent620f9d7bcf771b532bce67ffecf2d97759a4747f
wifi: mt76: mt7925: fix the unfinished command of regd_notifier before suspend

[ Upstream commit 1b97fc8443aea01922560de9f24a6383e6eb6ae8 ]

Before entering suspend, we need to ensure that all MCU command are
completed. In some cases, such as with regd_notifier, there is a
chance that CLC commands, will be executed before suspend.

Signed-off-by: Quan Zhou <quan.zhou@mediatek.com>
Link: https://patch.msgid.link/3af7b4e5bf7437832b016e32743657d1d55b1f9d.1735910288.git.quan.zhou@mediatek.com
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/mediatek/mt76/mt7925/init.c
drivers/net/wireless/mediatek/mt76/mt7925/pci.c