projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d34902
)
ath10k: remove meaningless check
author
Michal Kazior
<michal.kazior@tieto.com>
Fri, 8 Nov 2013 07:01:29 +0000
(08:01 +0100)
committer
Kalle Valo
<kvalo@qca.qualcomm.com>
Tue, 12 Nov 2013 18:06:45 +0000
(20:06 +0200)
The check doesn't make much sense. If the address
were to be 0x0000 the check would fail. In this
case a 0 address isn't wrong.
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/pci.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath10k/pci.c
b/drivers/net/wireless/ath/ath10k/pci.c
index
4aa7992
..
62df0dd
100644
(file)
--- a/
drivers/net/wireless/ath/ath10k/pci.c
+++ b/
drivers/net/wireless/ath/ath10k/pci.c
@@
-2307,9
+2307,6
@@
static void ath10k_pci_device_reset(struct ath10k *ar)
int i;
u32 val;
- if (!SOC_GLOBAL_RESET_ADDRESS)
- return;
-
ath10k_pci_reg_write32(ar, PCIE_SOC_WAKE_ADDRESS,
PCIE_SOC_WAKE_V_MASK);
for (i = 0; i < ATH_PCI_RESET_WAIT_MAX; i++) {