diff options
Diffstat (limited to 'drivers/acpi/sleep.c')
-rw-r--r-- | drivers/acpi/sleep.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c index b3e3cc73ba79..54da4a3fe65e 100644 --- a/drivers/acpi/sleep.c +++ b/drivers/acpi/sleep.c | |||
@@ -322,6 +322,11 @@ static struct dmi_system_id acpisleep_dmi_table[] __initdata = { | |||
322 | 322 | ||
323 | static void acpi_sleep_dmi_check(void) | 323 | static void acpi_sleep_dmi_check(void) |
324 | { | 324 | { |
325 | int year; | ||
326 | |||
327 | if (dmi_get_date(DMI_BIOS_DATE, &year, NULL, NULL) && year >= 2012) | ||
328 | acpi_nvs_nosave_s3(); | ||
329 | |||
325 | dmi_check_system(acpisleep_dmi_table); | 330 | dmi_check_system(acpisleep_dmi_table); |
326 | } | 331 | } |
327 | 332 | ||