[ASUS_ACPI] work around Samsung P30s oops
authorKarol Kozimor <sziwan@hell.org.pl>
Thu, 22 Dec 2005 17:42:00 +0000 (12:42 -0500)
committerLen Brown <len.brown@intel.com>
Thu, 29 Dec 2005 07:41:54 +0000 (02:41 -0500)
commitb697b5372ecfe0c57ee26e0c3787fc2306109228
treebe486f634f5ad008d2412b6c039d7481991e5168
parent3603bc8dc5ab33941e6378fe52ea03b7f5561109
[ASUS_ACPI] work around Samsung P30s oops

The code used to rely on a certain method to return a NULL buffer, which
is now hardly possible with the implicit return code on by default. This
sort of fixes bugs #5067 and #5092 for now.

Note: this patch makes the driver unusable on said machines (and on said
machines only) iff acpi=strict is specified, but it seems noone really uses
that.

Signed-off-by: Karol Kozimor <sziwan@hell.org.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/asus_acpi.c