Name

ata_host_set_suspend — suspend host_set

Synopsis

int ata_host_set_suspend (struct ata_host_set *  host_set,
 pm_message_t  mesg);

Arguments

host_set

host_set to suspend

mesg

PM message

Description

Suspend host_set. Actual operation is performed by EH. This function requests EH to perform PM operations and waits for EH to finish.

LOCKING

Kernel thread context (may sleep).

RETURNS

0 on success, -errno on failure.