]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: rtw89: 8852a: correct field mask of reset DAC/ADC FIFO
authorPing-Ke Shih <pkshih@realtek.com>
Thu, 20 Nov 2025 03:10:43 +0000 (11:10 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Fri, 21 Nov 2025 03:53:51 +0000 (11:53 +0800)
commit2a2aae3655343b753dfef86b341be99f7273f2ba
treeb619bbdbc3aa1b5253a7b95fad49bb33a83ada3c
parent9c194fe4625db18f93d5abcfb7f7997557a0b29d
wifi: rtw89: 8852a: correct field mask of reset DAC/ADC FIFO

The field mask should be bits 16-31, but suddenly use wrong bits 24-31,
rarely causing a little performance degraded if DAC/DAC FIFO stays on
an unexpected state.

Found this by Geert who works on bit field functions.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Closes: https://lore.kernel.org/linux-wireless/CAMuHMdVt+5yOA6tuasX4KQgZud5wtRwu0A15UkEfQJbcd_xvVw@mail.gmail.com/
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20251120031044.12493-2-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/rtw8852a_rfk.c