git.samba.org
/
sfrench
/
cifs-2.6.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2f8b74
)
ath11k: pci: remove unnecessary mask in ath11k_pci_enable_ltssm()
author
Kalle Valo
<kvalo@codeaurora.org>
Wed, 16 Dec 2020 18:24:11 +0000
(20:24 +0200)
committer
Kalle Valo
<kvalo@codeaurora.org>
Fri, 18 Dec 2020 09:04:38 +0000
(11:04 +0200)
0x10 is a leftover and unnecessary, GCC_GCC_PCIE_HOT_RST_VAL is already defined
to 0x10.
No functional changes, compile tested only.
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link:
https://lore.kernel.org/r/1608143051-5386-1-git-send-email-kvalo@codeaurora.org
drivers/net/wireless/ath/ath11k/pci.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath11k/pci.c
b/drivers/net/wireless/ath/ath11k/pci.c
index 857647aa57c8a7a66c41eaafa430667d062bc88e..5587a9926cc60bad9228b3a515ce53c085037852 100644
(file)
--- a/
drivers/net/wireless/ath/ath11k/pci.c
+++ b/
drivers/net/wireless/ath/ath11k/pci.c
@@
-328,7
+328,7
@@
static void ath11k_pci_enable_ltssm(struct ath11k_base *ab)
ath11k_dbg(ab, ATH11K_DBG_PCI, "pci ltssm 0x%x\n", val);
val = ath11k_pci_read32(ab, GCC_GCC_PCIE_HOT_RST);
- val |= GCC_GCC_PCIE_HOT_RST_VAL
| 0x10
;
+ val |= GCC_GCC_PCIE_HOT_RST_VAL;
ath11k_pci_write32(ab, GCC_GCC_PCIE_HOT_RST, val);
val = ath11k_pci_read32(ab, GCC_GCC_PCIE_HOT_RST);