libata-acpi: set acpi state for SATA port
authorLin Ming <ming.m.lin@intel.com>
Mon, 25 Jun 2012 08:13:05 +0000 (16:13 +0800)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 29 Jun 2012 15:38:12 +0000 (11:38 -0400)
commitfebe53ba6b781862c12686c7ea1972bdedee457a
treebe8477a4f681204ecb088d240612d2ee07b3a032
parent30dcf76acc695cbd2fa919e294670fe9552e16e7
libata-acpi: set acpi state for SATA port

Currently, ata_acpi_set_state() only sets acpi sate for IDE port.
Remove this limitation.

Acked-by: Aaron Lu <aaron.lu@amd.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-acpi.c