* [PATCH] ACPI / PM: Do not save/restore NVS on Asus K54C/K54HR
@ 2011-12-01 8:12 Keng-Yu Lin
2011-12-01 23:12 ` Rafael J. Wysocki
0 siblings, 1 reply; 2+ messages in thread
From: Keng-Yu Lin @ 2011-12-01 8:12 UTC (permalink / raw)
To: Len Brown, linux-acpi, linux-kernel; +Cc: Keng-Yu Lin
The models do not resume correctly without acpi_sleep=nonvs.
Signed-off-by: Keng-Yu Lin <kengyu@canonical.com>
---
drivers/acpi/sleep.c | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c
index 6d9a3ab..0a7ed69 100644
--- a/drivers/acpi/sleep.c
+++ b/drivers/acpi/sleep.c
@@ -476,6 +476,22 @@ static struct dmi_system_id __initdata acpisleep_dmi_table[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "VGN-FW520F"),
},
},
+ {
+ .callback = init_nvs_nosave,
+ .ident = "Asus K54C",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK Computer Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "K54C"),
+ },
+ },
+ {
+ .callback = init_nvs_nosave,
+ .ident = "Asus K54HR",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK Computer Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "K54HR"),
+ },
+ },
{},
};
#endif /* CONFIG_SUSPEND */
--
1.7.5.4
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] ACPI / PM: Do not save/restore NVS on Asus K54C/K54HR
2011-12-01 8:12 [PATCH] ACPI / PM: Do not save/restore NVS on Asus K54C/K54HR Keng-Yu Lin
@ 2011-12-01 23:12 ` Rafael J. Wysocki
0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2011-12-01 23:12 UTC (permalink / raw)
To: Keng-Yu Lin; +Cc: Len Brown, linux-acpi, linux-kernel
On Thursday, December 01, 2011, Keng-Yu Lin wrote:
> The models do not resume correctly without acpi_sleep=nonvs.
>
> Signed-off-by: Keng-Yu Lin <kengyu@canonical.com>
Applied to linux-pm/linux-next.
Thanks,
Rafael
> ---
> drivers/acpi/sleep.c | 16 ++++++++++++++++
> 1 files changed, 16 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c
> index 6d9a3ab..0a7ed69 100644
> --- a/drivers/acpi/sleep.c
> +++ b/drivers/acpi/sleep.c
> @@ -476,6 +476,22 @@ static struct dmi_system_id __initdata acpisleep_dmi_table[] = {
> DMI_MATCH(DMI_PRODUCT_NAME, "VGN-FW520F"),
> },
> },
> + {
> + .callback = init_nvs_nosave,
> + .ident = "Asus K54C",
> + .matches = {
> + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK Computer Inc."),
> + DMI_MATCH(DMI_PRODUCT_NAME, "K54C"),
> + },
> + },
> + {
> + .callback = init_nvs_nosave,
> + .ident = "Asus K54HR",
> + .matches = {
> + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK Computer Inc."),
> + DMI_MATCH(DMI_PRODUCT_NAME, "K54HR"),
> + },
> + },
> {},
> };
> #endif /* CONFIG_SUSPEND */
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-12-01 23:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-01 8:12 [PATCH] ACPI / PM: Do not save/restore NVS on Asus K54C/K54HR Keng-Yu Lin
2011-12-01 23:12 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®