Commit 1ad38fd7 authored by Srinivas Kandagatla's avatar Srinivas Kandagatla Committed by Kalle Valo

ath10k: fix typo in addr calculation

CORE_CTRL_ADDRESS is offset in register address space, it does not
make sense to OR it to derive the final address. It looks like its
a typo, so fix it.
Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent 0de4df5b
...@@ -1937,7 +1937,7 @@ static int ath10k_pci_wake_target_cpu(struct ath10k *ar) ...@@ -1937,7 +1937,7 @@ static int ath10k_pci_wake_target_cpu(struct ath10k *ar)
{ {
u32 addr, val; u32 addr, val;
addr = SOC_CORE_BASE_ADDRESS | CORE_CTRL_ADDRESS; addr = SOC_CORE_BASE_ADDRESS + CORE_CTRL_ADDRESS;
val = ath10k_pci_read32(ar, addr); val = ath10k_pci_read32(ar, addr);
val |= CORE_CTRL_CPU_INTR_MASK; val |= CORE_CTRL_CPU_INTR_MASK;
ath10k_pci_write32(ar, addr, val); ath10k_pci_write32(ar, addr, val);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment