summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/realtek/rtw89/reg.h
diff options
context:
space:
mode:
authorPing-Ke Shih <pkshih@realtek.com>2023-11-22 09:04:55 +0300
committerKalle Valo <kvalo@kernel.org>2023-11-30 22:45:21 +0300
commit77abbabaafe5d14ed033adb6969c54d42faf67f0 (patch)
treef5c304be77e5341e1180e8eaa57d6f269cd307c6 /drivers/net/wireless/realtek/rtw89/reg.h
parentbc8263083af60e7e57c6120edbc1f75d6c909a35 (diff)
downloadlinux-77abbabaafe5d14ed033adb6969c54d42faf67f0.tar.xz
wifi: rtw89: debug: add to check if debug mask is enabled
The coming dynamic mechanism of EDCCA adjustment will add a function to dump registers to reflect status. However, if we are not debugging the mechanism, we don't print anything, so avoid reading registers by checking debug mask to reduce IO. Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20231122060458.30878-2-pkshih@realtek.com
Diffstat (limited to 'drivers/net/wireless/realtek/rtw89/reg.h')
0 files changed, 0 insertions, 0 deletions