| From ea5bc73f4f56449b2d450068d492bcd17a675d7a Mon Sep 17 00:00:00 2001 |
| From: Kamal Mostafa <kamal@canonical.com> |
| Date: Tue, 27 Apr 2010 14:02:40 -0700 |
| Subject: ACPI: sleep: init_set_sci_en_on_resume for Dell Studio 155x |
| |
| From: Kamal Mostafa <kamal@canonical.com> |
| |
| commit ea5bc73f4f56449b2d450068d492bcd17a675d7a upstream. |
| |
| Add Dell Studio models (1558, 1557, 1555) to the 'set_sci_en_on_resume' |
| list to fix hang on resume. |
| |
| BugLink: http://bugs.launchpad.net/bugs/553498 |
| |
| Signed-off-by: Kamal Mostafa <kamal@canonical.com> |
| Acked-by: Alex Chiang <achiang@canonical.com> |
| Signed-off-by: Len Brown <len.brown@intel.com> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
| |
| --- |
| drivers/acpi/sleep.c | 24 ++++++++++++++++++++++++ |
| 1 file changed, 24 insertions(+) |
| |
| --- a/drivers/acpi/sleep.c |
| +++ b/drivers/acpi/sleep.c |
| @@ -578,6 +578,30 @@ static struct dmi_system_id __initdata a |
| DMI_MATCH(DMI_BOARD_NAME, "CF51-2L"), |
| }, |
| }, |
| + { |
| + .callback = init_set_sci_en_on_resume, |
| + .ident = "Dell Studio 1558", |
| + .matches = { |
| + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), |
| + DMI_MATCH(DMI_PRODUCT_NAME, "Studio 1558"), |
| + }, |
| + }, |
| + { |
| + .callback = init_set_sci_en_on_resume, |
| + .ident = "Dell Studio 1557", |
| + .matches = { |
| + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), |
| + DMI_MATCH(DMI_PRODUCT_NAME, "Studio 1557"), |
| + }, |
| + }, |
| + { |
| + .callback = init_set_sci_en_on_resume, |
| + .ident = "Dell Studio 1555", |
| + .matches = { |
| + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), |
| + DMI_MATCH(DMI_PRODUCT_NAME, "Studio 1555"), |
| + }, |
| + }, |
| {}, |
| }; |
| #endif /* CONFIG_SUSPEND */ |