]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: re-disable interrupts after target init
authorMichal Kazior <michal.kazior@tieto.com>
Mon, 20 Oct 2014 12:14:37 +0000 (14:14 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 23 Oct 2014 13:35:25 +0000 (16:35 +0300)
commitfb0e9ec222611fd631970aa09d7092d30ff8871a
tree0271d96532ac38c83da02504f98b4de0e17e2585
parente73b8911f635f1638dcb08cbb779dde6845e8e19
ath10k: re-disable interrupts after target init

If MSI isn't configured device ROM program expects
legacy interrupts to be enabled before it can
fully boot. Don't forget to disable legacy
interrupts after that.

While at it re-use the legacy irq enabling helper
instead of calling ath10k_pci_write32().

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