Skip to content

Commit 0efd422

Browse files
committed
wifi: rtw89: Disable deep power saving for USB/SDIO
JIRA: https://issues.redhat.com/browse/RHEL-114891 commit a3b871a Author: Bitterblue Smith <rtl8821cerfe2@gmail.com> Date: Mon Jun 30 23:43:25 2025 +0300 wifi: rtw89: Disable deep power saving for USB/SDIO Disable deep power saving for USB and SDIO because rtw89_mac_send_rpwm() is called in atomic context and accessing hardware registers results in "scheduling while atomic" errors. Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com> Acked-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/0f49eceb-0de0-47e2-ba36-3c6a0dddd17d@gmail.com Signed-off-by: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>
1 parent 96505ec commit 0efd422

File tree

1 file changed

+3
-0
lines changed
  • drivers/net/wireless/realtek/rtw89

1 file changed

+3
-0
lines changed

drivers/net/wireless/realtek/rtw89/core.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2884,6 +2884,9 @@ static enum rtw89_ps_mode rtw89_update_ps_mode(struct rtw89_dev *rtwdev)
28842884
{
28852885
const struct rtw89_chip_info *chip = rtwdev->chip;
28862886

2887+
if (rtwdev->hci.type != RTW89_HCI_TYPE_PCIE)
2888+
return RTW89_PS_MODE_NONE;
2889+
28872890
if (rtw89_disable_ps_mode || !chip->ps_mode_supported ||
28882891
RTW89_CHK_FW_FEATURE(NO_DEEP_PS, &rtwdev->fw))
28892892
return RTW89_PS_MODE_NONE;

0 commit comments

Comments
 (0)