diff options
author | Xiang Chen <[email protected]> | 2020-10-02 22:30:35 +0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2020-10-06 20:47:06 -0400 |
commit | e06596d5000c58f35721f334fe2eee28e3b01a77 (patch) | |
tree | b95eecb58a9d3bd36eb9ceccb121dee680825290 /scripts/gen_compile_commands.py | |
parent | 65ff4aef7e9bde00871875c5fbc9c6b79df6f5ba (diff) |
scsi: hisi_sas: Add check for methods _PS0 and _PR0
To support system suspend/resume or runtime suspend/resume, need to use the
function pci_set_power_state() to change the power state which requires at
least method _PS0 or _PR0 be filled by platform for v3 hw. So check whether
the method is supported, if not, print a warning.
A Kconfig dependency is added as there is no stub for
acpi_device_power_manageable().
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Xiang Chen <[email protected]>
Signed-off-by: John Garry <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions