]> 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)
commit07435e0ec9453fb1182414485f582efb7e61f68e
tree8c715f01d0a9c661e24723c79c8637d67e5e56d8
parent7413d18a961f70d34076ce594fe9a8f7a9b0addb
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: dd334965e421 ("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