]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: rtw89: pci: consolidate PCI basic configurations for probe and resume
authorPing-Ke Shih <pkshih@realtek.com>
Wed, 25 Sep 2024 01:38:58 +0000 (09:38 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Tue, 1 Oct 2024 12:56:12 +0000 (20:56 +0800)
commit1a82680839ee86f50ace41b6375ecee0c9320b12
treed4f4c242439631af1cb8476697ad3c8f15213d27
parentbbb6f9be7f99464d5ab7e2f321fa728d33eeec9a
wifi: rtw89: pci: consolidate PCI basic configurations for probe and resume

The PCI settings aren't always persistent after chip suspends, so
reconfigure the settings after chip resumes. Since most of these settings
are the same, consolidate them into a function to avoid missing somewhere.

Fix the missing case of 8922AE resume flow.

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