ACPI: Thermal issues on HP nx6325
authorKonstantin Karasyov <konstantin.a.karasyov@intel.com>
Fri, 16 Feb 2007 06:47:06 +0000 (01:47 -0500)
committerLen Brown <len.brown@intel.com>
Fri, 16 Feb 2007 06:47:06 +0000 (01:47 -0500)
The previous reference counting scheme to enable power resources
got confused when multiple devices were present that might
repeatedly enable or disable the resource and throw off the count.

The new code simply lists the referencing devices which
are requesting the resource to be enabled.  When there are none,
then it is off.

Signed-off-by: Konstantin Karasyov <konstantin.a.karasyov@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>

No differences found