]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: fix QCA61X4 boot up
authorBartosz Markowski <bartosz.markowski@tieto.com>
Fri, 3 Jul 2015 13:33:49 +0000 (15:33 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Sat, 11 Jul 2015 16:06:15 +0000 (19:06 +0300)
commitc1b819184fe2fd09881375f7d7284396e69031b8
tree22e94ff001faaa1b5808b83f7d1f81e4eef0fce3
parent2e1ab3429993b954e6f5bf1d4b2391b1c03bb48a
ath10k: fix QCA61X4 boot up

commit 94a592c520d927ee ("ath10k: Add new reg_address/mask to hw register
table") broke QCA61x4 support by providing wrong
fw_indicator_address, which should have been 0x0003a028 instead of 0x00009028.

User experience was a failing boot up sequence (crashing device during
initialization):

[  181.663874] ath10k_pci 0000:02:00.0: enabling device (0000 -> 0002)
[  181.664787] ath10k_pci 0000:02:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
[  181.688886] ath10k_pci 0000:02:00.0: device has crashed during init
[  181.688897] ath10k_pci 0000:02:00.0: failed to wait for target after cold reset: -70
[  181.688902] ath10k_pci 0000:02:00.0: failed to reset chip: -70
[  181.689774] ath10k_pci: probe of 0000:02:00.0 failed with error -70

Fix it by updating the address with correct value.

Fixes: 94a592c520d9 ("ath10k: Add new reg_address/mask to hw register table")
Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/hw.c