]> git.baikalelectronics.ru Git - kernel.git/commit
iwlagn: stop interrupts when suspending
authorJohannes Berg <johannes.berg@intel.com>
Mon, 10 Oct 2011 14:26:57 +0000 (07:26 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 14 Oct 2011 18:48:10 +0000 (14:48 -0400)
commitadc773ac84abf18e42533cdc09b429fc603c180c
tree26239667c9ff2dddb57d50243004ddc8ce490257
parentbaad33d921be5c7527c6e80de071b9280b04d392
iwlagn: stop interrupts when suspending

Occasionally, the device will send interrupts
while it is resuming, at a point where we are
not set up again to handle them. This causes
the core IRQ handling to completely disable
the IRQ, and then the driver won't work again
until it is reloaded/rebound.

To fix this issue disable the IRQ on suspend,
this will cause us to only get interrupts
again after we've setup everything on resume.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-trans-pcie.c