iwlwifi: pcie: add missing calls to synchronize_irq()
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 25 Jun 2015 09:55:45 +0000 (12:55 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 4 Aug 2015 07:11:43 +0000 (10:11 +0300)
commit33b56af188ddbd1027b7eaff7abb1507b708f155
tree845aa672b1d6e43e1bfe5345e8e0e3376524e552
parent1103323ca1aafb0aa32064abec736ea9f2ce66a6
iwlwifi: pcie: add missing calls to synchronize_irq()

In a few places, we were disabling interrupts but didn't
make sure that the interrupt handler has finished running.
Add calls to synchronize_irq() to ensure we finish handling
the interrupts before we free resources or other things that
could lead to a crash if the interrupt were to be handled
later.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/pcie/trans.c