]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: pcie: only use d0i3 in suspend/resume if system_pm is set to d0i3
authorLuca Coelho <luciano.coelho@intel.com>
Fri, 24 Mar 2017 09:01:45 +0000 (11:01 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 5 Jun 2017 18:47:08 +0000 (21:47 +0300)
commit7cd7bbdaf09a49bc575f10dab52f1fe9c8028575
tree6291e26031ff13c730b8d38943dafe31bd955380
parent338e70ca33df2387c4f7edd2acc342161d58878f
iwlwifi: pcie: only use d0i3 in suspend/resume if system_pm is set to d0i3

We only need to handle d0i3 entry and exit during suspend resume if
system_pm is set to IWL_PLAT_PM_MODE_D0I3, otherwise d0i3 entry
failures will cause suspend to fail.

This fixes https://bugzilla.kernel.org/show_bug.cgi?id=194791

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/trans.c