Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
18 lines
497 B
Diff
18 lines
497 B
Diff
Fix ltssm crashes on BPI-Rx boards.
|
|
Seems read32/write32 using wrong address which
|
|
is not a problem on x86/64 PCI controllers.
|
|
But have issues on BPI-Rx boards.
|
|
|
|
--- a/drivers/net/wireless/ath/ath12k/pci.c
|
|
+++ b/drivers/net/wireless/ath/ath12k/pci.c
|
|
@@ -277,6 +277,9 @@ static void ath12k_pci_enable_ltssm(stru
|
|
u32 val;
|
|
int i;
|
|
|
|
+ /* Prevent startup crash on BPI-Rx */
|
|
+ return;
|
|
+
|
|
val = ath12k_pci_read32(ab, PCIE_PCIE_PARF_LTSSM);
|
|
|
|
/* PCIE link seems very unstable after the Hot Reset*/
|