]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit30d085039314fcad2c2e33a2dfc8e79765ddf408
tree8c715f01d0a9c661e24723c79c8637d67e5e56d8
parent9b09456258ea2f35fc8a99c4ac4829dcba0ca4be
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: 0699940755e9 ("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