]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: re-enable interrupts properly in hw recovery
authorMichal Kazior <michal.kazior@tieto.com>
Thu, 28 Aug 2014 19:14:16 +0000 (22:14 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 2 Sep 2014 07:13:26 +0000 (10:13 +0300)
commit0cfcc7903357f9c8b0ece443e9840c95f8331205
treeefa59dd7b5d791731606193676a93bd6cedb53b4
parent72cb3a929ce4a8948276fb982f204c6dd886ccbb
ath10k: re-enable interrupts properly in hw recovery

Recent changes done to start/restart sequences
broke hw recovery in some hw configurations. The
pci transport was stopped twice however due to a
workaround in the pci disabling code the
disable/enable for first msi interrupt was not
balanced. This ended up with irqs not being
properly re-enabled and the following print out
during recovery:

 ath10k: failed to receive control response completion, polling..
 ath10k: Service connect timeout: -110
 ath10k: Could not init core: -110

Legacy interrupt mode was unaffected while msi
ranged mode would be partially crippled (it would
miss fw indication interrupts but otherwise it
worked fine).

This fixes completely broken fw recovery for a
single msi interrupt mode and fixes subsequent fw
crash reports for msi range interrupt mode.

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