kernel_samsung_a53x/drivers/net/wireless/realtek
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
..
rtl8xxxu Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rtl818x Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rtl8821au drivers: rtl8821au: Changed from #elseif to #elif 2024-11-17 20:46:26 +01:00
rtlwifi wifi: rtlwifi: Convert LNKCTL change to PCIe cap RMW accessors 2024-11-18 12:12:47 +01:00
rtw88 wifi: rtw88: fix RX filter in FIF_ALLMULTI flag 2024-11-18 12:12:28 +01:00
Kconfig Add rtl8821au drivers 2024-06-15 16:29:05 -03:00
Makefile Add rtl8821au drivers 2024-06-15 16:29:05 -03:00