summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPing-Ke Shih <pkshih@realtek.com>2026-06-25 14:15:38 +0800
committerPing-Ke Shih <pkshih@realtek.com>2026-07-03 11:37:33 +0800
commite50c0fb7867e6b2b0714c79b8385ab6db2c5567a (patch)
tree635d86f2513819ef3f997a254480b820f8c7207f
parent14dfbfeba17b98d5cb3a7e31bbff4d21e74302c9 (diff)
downloadlinux-e50c0fb7867e6b2b0714c79b8385ab6db2c5567a.tar.gz
linux-e50c0fb7867e6b2b0714c79b8385ab6db2c5567a.zip
wifi: rtw89: fw: lower debug level for UDM1 debug register
The UDM1 is user define message to record count of H2C command sent by driver and received by firmware. Normally, this value should be zero. Otherwise, throw a warning. For the new chip RTL8922DE, its default value is not zero, causing a warning at first time probe. Since this is a debug purpose and the value will be set to zero right after this checking, lower the debug level. Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/20260625061545.44808-4-pkshih@realtek.com
-rw-r--r--drivers/net/wireless/realtek/rtw89/mac_be.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/wireless/realtek/rtw89/mac_be.c b/drivers/net/wireless/realtek/rtw89/mac_be.c
index 4cb48cf9415a..d9c93adb58ee 100644
--- a/drivers/net/wireless/realtek/rtw89/mac_be.c
+++ b/drivers/net/wireless/realtek/rtw89/mac_be.c
@@ -652,8 +652,10 @@ static int wcpu_on(struct rtw89_dev *rtwdev, u8 boot_reason, bool dlfw)
}
val32 = rtw89_read32(rtwdev, R_BE_UDM1);
if (val32) {
- rtw89_warn(rtwdev, "[SER] AON L2 Debug register not empty before Boot.\n");
- rtw89_warn(rtwdev, "[SER] %s: R_BE_UDM1 = 0x%x\n", __func__, val32);
+ rtw89_debug(rtwdev, RTW89_DBG_UNEXP,
+ "[SER] AON L2 Debug register not empty before Boot.\n");
+ rtw89_debug(rtwdev, RTW89_DBG_UNEXP,
+ "[SER] %s: R_BE_UDM1 = 0x%x\n", __func__, val32);
}
val32 = rtw89_read32(rtwdev, R_BE_UDM2);
if (val32) {