]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: rtw89: 8852ce: fix gray code conversion for filter out EQ
authorPing-Ke Shih <pkshih@realtek.com>
Wed, 25 Sep 2024 01:39:00 +0000 (09:39 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Tue, 1 Oct 2024 12:57:50 +0000 (20:57 +0800)
commitc76afc421cf7212c1b0a89f6ba79cd671db84f2e
treef5d5d7ace1463b29eb149fb503355b5c03e04895
parentbbc0be2ee2d8f5172ad68600c09401daa7270f64
wifi: rtw89: 8852ce: fix gray code conversion for filter out EQ

To use manual mode to set value of filter out EQ, read the source value of
filter out EQ coded in gray code, and write to the target register in
binary number. The function to convert from gray code to binary number is
wrong originally, causing unexpected EQ, so fix it.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20240925013901.9835-4-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/pci.c