]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: rtw89: pci: disable PCIE wake bit when PCIE deinit
authorPing-Ke Shih <pkshih@realtek.com>
Mon, 11 Nov 2024 06:38:35 +0000 (14:38 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Feb 2025 13:01:46 +0000 (14:01 +0100)
commite5aeac73ab046c759f79cdecae882b9cb91badb9
treec904c3ee483f332da8d41fd802eb213bf942a6f4
parentd5c8ffaa9d532974d5e48d4ac267be5e7b1d9d5d
wifi: rtw89: pci: disable PCIE wake bit when PCIE deinit

commit 9c1df813e08832c3836c254bc8a2f83ff22dbc06 upstream.

The PCIE wake bit is to control PCIE wake signal to host. When PCIE is
going down, clear this bit to prevent waking up host unexpectedly.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20241111063835.15454-1-pkshih@realtek.com
Signed-off-by: Zenm Chen <zenmchen@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/realtek/rtw89/pci.c
drivers/net/wireless/realtek/rtw89/pci.h
drivers/net/wireless/realtek/rtw89/pci_be.c