Message ID | 1359359225-28223-2-git-send-email-tianyu.lan@intel.com (mailing list archive) |
---|---|
State | Changes Requested, archived |
Headers | show |
diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c index 405b962..ee33a9a 100644 --- a/drivers/acpi/sleep.c +++ b/drivers/acpi/sleep.c @@ -230,7 +230,7 @@ static struct dmi_system_id __initdata acpisleep_dmi_table[] = { }, }, { - .callback = init_nvs_nosave, + .callback = init_nvs_nosave_s3, .ident = "Sony Vaio VPCCW29FX", .matches = { DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"), @@ -270,7 +270,7 @@ static struct dmi_system_id __initdata acpisleep_dmi_table[] = { }, }, { - .callback = init_nvs_nosave, + .callback = init_nvs_nosave_s3, .ident = "Sony Vaio VPCEB1S1E", .matches = { DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
Sony Vaio VPCCW29FX and VPCEB1S1E just need to ban saving nvs during s3 rather than both s3 and s4. So this patch is to set their callbacks to be init_nvs_nosave_s3(). Signed-off-by: Lan Tianyu <tianyu.lan@intel.com> --- drivers/acpi/sleep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)