kernel_samsung_a53x/drivers/net/wireless/realtek/rtlwifi
Ilpo Järvinen 3b3eef59a6 wifi: rtlwifi: Convert LNKCTL change to PCIe cap RMW accessors
commit 5894d0089cbc146063dcc0239a78ede0a8142efb upstream.

The rtlwifi driver comes with custom code to write into PCIe Link
Control register. RMW access for the Link Control register requires
locking that is already provided by the standard PCIe capability
accessors.

Convert the custom RMW code writing into LNKCTL register to standard
RMW capability accessors. The accesses are changed to cover the full
LNKCTL register instead of touching just a single byte of the register.

Fixes: 0c8173385e54 ("rtl8192ce: Add new driver")
Cc: stable@vger.kernel.org
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20231124084725.12738-3-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-18 12:12:47 +01:00
..
btcoexist Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rtl8188ee wifi: rtlwifi: rtl8188ee: phy: using calculate_bit_shift() 2024-11-18 12:12:37 +01:00
rtl8192c wifi: rtlwifi: rtl8192c: using calculate_bit_shift() 2024-11-18 12:12:37 +01:00
rtl8192ce wifi: rtlwifi: rtl8192ce: using calculate_bit_shift() 2024-11-18 12:12:38 +01:00
rtl8192cu wifi: rtlwifi: rtl8192cu: using calculate_bit_shift() 2024-11-18 12:12:37 +01:00
rtl8192de wifi: rtlwifi: rtl8192de: using calculate_bit_shift() 2024-11-18 12:12:38 +01:00
rtl8192ee wifi: rtlwifi: rtl8192ee: using calculate_bit_shift() 2024-11-18 12:12:38 +01:00
rtl8192se wifi: rtlwifi: rtl8192se: using calculate_bit_shift() 2024-11-18 12:12:38 +01:00
rtl8723ae wifi: rtlwifi: fix EDCA limit set by BT coexistence 2024-11-18 11:42:49 +01:00
rtl8723be Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rtl8723com Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rtl8821ae wifi: rtlwifi: rtl8821ae: phy: fix an undefined bitwise shift behavior 2024-11-18 12:12:28 +01:00
base.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
base.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cam.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cam.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
core.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
core.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
debug.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
debug.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
efuse.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
efuse.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci.c wifi: rtlwifi: Convert LNKCTL change to PCIe cap RMW accessors 2024-11-18 12:12:47 +01:00
pci.h wifi: rtlwifi: Remove bogus and dangerous ASPM disable/enable code 2024-11-18 12:12:47 +01:00
ps.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ps.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwrseqcmd.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
regd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
regd.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
stats.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
stats.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
usb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
usb.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
wifi.h wifi: rtlwifi: add calculate_bit_shift() 2024-11-18 12:12:37 +01:00