Name
ata_scsi_device_suspend —
suspend ATA device associated with sdev
Synopsis
int ata_scsi_device_suspend ( | struct scsi_device * | sdev, |
| pm_message_t | mesg) ; |
Arguments
sdev
the SCSI device to suspend
mesg
target power management message
Description
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.