OSDN Git Service

ath10k: fix operating irq mode for ahb device
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Fri, 27 May 2016 14:45:55 +0000 (20:15 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 2 Jun 2016 14:55:05 +0000 (17:55 +0300)
commit2e550b6d277bdf5daf579bb7952d1b183ff0948a
tree20f23566358256d7ba0e04e38a8934eee526da97
parentf5e307515b2b9994f5e30fa8311ef38fd71c52a3
ath10k: fix operating irq mode for ahb device

Earlier when operating irq mode is legacy, interrupts are disabled
and re-enabled based on num_msi_intrs. commit cfe9011a05a8 ("ath10k:
remove MSI range support") replaced num_msi_intrs by oper_irq_mode.
Since oper_irq_mode is not initialized for ahb devices (i.e qca4019),
device boot up is failed during probe.

Fixes: cfe9011a05a8 ("ath10k: remove MSI range support")
Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/ahb.c