diff options
| author | Ryan Hsu <[email protected]> | 2017-08-31 12:36:14 +0000 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2017-08-31 18:16:56 +0000 |
| commit | 32faa3f0ee509176aeac0009e3ee93f9b15f07a5 (patch) | |
| tree | dc61ef04463dd88a0380ace111088a31ab413a11 /net/tipc/msg.c | |
| parent | wil6210: ensure P2P device is stopped before removing interface (diff) | |
| download | kernel-32faa3f0ee509176aeac0009e3ee93f9b15f07a5.tar.gz kernel-32faa3f0ee509176aeac0009e3ee93f9b15f07a5.zip | |
ath10k: add the PCI PM core suspend/resume ops
The actual PCI suspend/resume in ath10k has been handled in wow.c,
but in the case of the device doesn't support remote wakeup,
the .hif_suspend() and .hif_resume() will never be handled.
ath10k_wow_op_suspend()
{
if (WARN_ON(!test_bit(ATH10K_FW_FEATURE_WOWLAN_SUPPORT,
ar->running_fw->fw_file.fw_features))) {
ret = 1;
goto exit;
}
....
ret = ath10k_hif_suspend(ar);
}
So register the PCI PM core to support the suspend/resume if the device
doesn't support remote wakeup.
Signed-off-by: Ryan Hsu <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'net/tipc/msg.c')
0 files changed, 0 insertions, 0 deletions
