Darrick J. Wong c5a114f1fb [PATCH] fix "ACPI: Processor native C-states using MWAIT"
This patch breaks C-state discovery on my IBM IntelliStation Z30 because
the return value of acpi_processor_get_power_info_fadt is not assigned to
"result" in the case that acpi_processor_get_power_info_cst returns
-ENODEV.  Thus, if ACPI provides C-state data via the FADT and not _CST (as
is the case on this machine), we incorrectly exit the function with -ENODEV
after reading the FADT.  The attached patch sets the value of result so
that we don't exit early.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Acked-by: "Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>
Acked-by: "Brown, Len" <len.brown@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-20 10:26:37 -07:00
..
2006-07-09 15:15:40 -04:00
2006-07-09 15:15:40 -04:00
2006-07-10 02:37:22 -04:00
2006-06-14 02:44:35 -04:00
2006-10-14 01:59:46 -04:00
2006-08-15 23:16:43 -04:00
2006-10-10 15:37:22 -07:00
2006-07-01 16:36:14 -04:00
2006-10-03 22:24:43 +02:00
2006-07-09 17:22:28 -04:00
2005-08-05 00:45:14 -04:00