Name

ata_scsi_device_suspend — suspend ATA device associated with sdev

Synopsis

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

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.