ata_scsi_device_suspend9
Suspend ata device associated with sdev
Usage
int ata_scsi_device_suspend(struct scsi_device * sdev, pm_message_t state);
Arguments
sdev
the SCSI device to suspend
state
target power management state
Overview
Request suspend EH action on the ATA device associated with sdev and wait for the operation to complete.
Locking
Kernel thread context (may sleep).
Returns
0 on success, -errno otherwise.