]> git.baikalelectronics.ru Git - kernel.git/commit
ath11k: Fix ath11k_pci_fix_l1ss()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 16 Dec 2020 08:32:12 +0000 (11:32 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 17 Dec 2020 06:48:10 +0000 (08:48 +0200)
commit566f7642d82035eb71d33950527ab6deae2f6a43
tree8c715f01d0a9c661e24723c79c8637d67e5e56d8
parent7dfc89640e08bcaad9d2a38619ab4fcb61f98495
ath11k: Fix ath11k_pci_fix_l1ss()

All these conditions are reversed so presumably most of the function is
dead code. This caused a spurious warning:

[   95.734922] ath11k_pci 0000:06:00.0: failed to set sysclk: 0

Fixes: 74586c8cf00a ("ath11k: pci: fix L1ss clock unstable problem")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/X9nGDHiTh+Z+asDy@mwanda
drivers/net/wireless/ath/ath11k/pci.c