From: Andy Whitcroft Date: Wed, 11 Feb 2009 18:11:22 +0000 (+0000) Subject: suspend: switch the Asus Pundit P1-AH2 to old ACPI sleep ordering X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a140449584522c3eea1bb381f746d40939e6f62a;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git suspend: switch the Asus Pundit P1-AH2 to old ACPI sleep ordering Switch the Asus Pundit P1-AH2 (M2N8L motherboard) to the old ACPI 1.0 sleep ordering by default. Without this it will not suspend/resume correctly. Signed-off-by: Andy Whitcroft Tested-by: Dustin Kirkland Signed-off-by: Len Brown --- diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c index 519266654f06..3ca98686f28b 100644 --- a/drivers/acpi/sleep.c +++ b/drivers/acpi/sleep.c @@ -378,6 +378,14 @@ static struct dmi_system_id __initdata acpisleep_dmi_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "Macmini1,1"), }, }, + { + .callback = init_old_suspend_ordering, + .ident = "Asus Pundit P1-AH2 (M2N8L motherboard)", + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTek Computer INC."), + DMI_MATCH(DMI_BOARD_NAME, "M2N8L"), + }, + }, {}, }; #endif /* CONFIG_SUSPEND */