ACPI: fan: Delete the strict check in power transition
authorZhao Yakui <yakui.zhao@intel.com>
Mon, 27 Oct 2008 08:05:39 +0000 (16:05 +0800)
committerLen Brown <len.brown@intel.com>
Tue, 28 Oct 2008 05:39:59 +0000 (01:39 -0400)
commit676962dac6e267ce7c13f73962208f9124a084bb
tree552f485f609023f38d65ffb7614e51fd81c30588
parentb1b57fbe9bb10d94682a975456de7a727d1dbc84
ACPI: fan: Delete the strict check in power transition

On some laptops the Fan device is turned on/off by controlling the
corresponding power resource. For example: If the power resource
defined in _PR0 object is turned off, it indicates that the FAN device
is in off state(the ACPI state is in D3 state).

Maybe the device is already in D3 state and expected to be transited to
D3 state. As there is no _PR3 object, the power transition can't be
finished and it will be switched to the Unknown state.

Maybe it is more reasonable that the strick check in power transistion
is deleted.

http://bugzilla.kernel.org/show_bug.cgi?id=9485

Signed-off-by: yakui.zhao@intel.com
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/power.c