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)
commita428249da9f9ef169d09d1a637d19a27991122da
tree0271d96532ac38c83da02504f98b4de0e17e2585
parent7d9d5587c2e385b7a6c86547618e8adb87171e42
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