commit | 882fd12e641b612bcf31620f9b1b7bb03f8e9ab5 | [log] [tgz] |
---|---|---|
author | Toshi Kani <toshi.kani@hp.com> | Wed Mar 13 19:29:26 2013 +0000 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Mon Mar 25 00:18:43 2013 +0100 |
tree | e9814f8c21c4f07a7a028c6c872c5fefc4d0d9ef | |
parent | ea6a4581ce11bd1a5dca421c01b11d1ff2867c2f [diff] |
ACPI: Verify device status after eject ACPI spec states that the OS evaluates _STA after calling _EJ0 in order to verify if eject was successful. Added a check to verify if the enabled bit of the status value is cleared after _EJ0. Note, the present bit is not checked since some FW implementations do not clear the present bit until the hardware is physically removed. Signed-off-by: Toshi Kani <toshi.kani@hp.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>