]> 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)
commit686dce172353b7ad91e0bc04b2bcf3ec0cfe6ebe
tree0271d96532ac38c83da02504f98b4de0e17e2585
parentd601acb3f7f342e8b964432eb79eef3c1bc1d8dd
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