aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/slab.py
diff options
context:
space:
mode:
authorDamien Le Moal <[email protected]>2023-09-02 16:32:21 +0900
committerDamien Le Moal <[email protected]>2023-10-03 09:39:50 +0900
commit3341b82368fb26dcf75f2c60320dc7442dac7075 (patch)
tree8edec84c8a0b33c3a2e3b1cb2cd26c5be575f8e1 /scripts/gdb/linux/slab.py
parent3a94af2488bfe7dfe70fd9277d4548f971b06ec8 (diff)
ata: libata-core: Do not resume runtime suspended ports
The scsi disk driver does not resume disks that have been runtime suspended by the user. To be consistent with this behavior, do the same for ata ports and skip the PM request in ata_port_pm_resume() if the port was already runtime suspended. With this change, it is no longer necessary to force the PM state of the port to ACTIVE as the PM core code will take care of that when handling runtime resume. Signed-off-by: Damien Le Moal <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Tested-by: Chia-Lin Kao (AceLan) <[email protected]> Tested-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/slab.py')
0 files changed, 0 insertions, 0 deletions