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@xxxxxxxxx> --- drivers/acpi/sleep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"), -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html