iwlwifi: pcie: add pm_prepare and pm_complete ops
authorLuca Coelho <luciano.coelho@intel.com>
Tue, 1 Dec 2015 18:39:57 +0000 (20:39 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sat, 27 Feb 2016 20:00:07 +0000 (22:00 +0200)
commit863eac305a7ba75e7c394b2a24cdee2a636b7dc4
tree1195e0f81c08d2967cf4375b11f9c2c871d518b1
parent88076015f80f7645b1eaada6291f4a23ab96bd8f
iwlwifi: pcie: add pm_prepare and pm_complete ops

With these ops, we can know when we are about to enter system suspend.
This allows us to exit D0i3 state before entering suspend.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-trans.h
drivers/net/wireless/intel/iwlwifi/pcie/drv.c