iwlwifi: call d3_suspend/resume in d0i3 case as well
authorEliad Peller <eliad@wizery.com>
Thu, 9 Jul 2015 11:17:24 +0000 (14:17 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 4 Aug 2015 07:17:32 +0000 (10:17 +0300)
commit6dfb36c89dc21c2c77a4b8ea48679cbb15d158b4
tree78276ed630ee742a572a73e4618453a5aff4e764
parentcdc306b2f604d59bb7fb558fadade195f1eb289e
iwlwifi: call d3_suspend/resume in d0i3 case as well

Some CSR registers have to be configured also
in case of suspend/resume with unified image
(which doesn't includes reconfiguration flow).

Reuse the existing d3_suspend/d3_resume trans ops,
while making sure some configurations are a bit
different, according to the wowlan type.

After this change, we no longer need the special
wowlan_d0i3 configurations done in iwl_pci_resume,
as they are already being done in the d3_resume op.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/d3.c
drivers/net/wireless/iwlwifi/pcie/drv.c
drivers/net/wireless/iwlwifi/pcie/trans.c