libata-acpi: add ata port runtime D3Cold support
authorLin Ming <ming.m.lin@intel.com>
Mon, 25 Jun 2012 08:13:06 +0000 (16:13 +0800)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 29 Jun 2012 15:38:13 +0000 (11:38 -0400)
commit3bd46600a7a7e938c54df8cdbac9910668c7dfb0
tree72272f24842f7487b918a47c6e7244e92cad9ae4
parentfebe53ba6b781862c12686c7ea1972bdedee457a
libata-acpi: add ata port runtime D3Cold support

ATA port may support runtime D3Cold state, for example, Zero-power ODD case.
This patch adds wakeup notifier and enable/disable run_wake during
supend/resume.

Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/acpi/sleep.c
drivers/ata/libata-acpi.c
drivers/ata/libata-scsi.c
drivers/ata/libata.h