ematch: Fix matching of inverted containers.
[pandora-kernel.git] / drivers / acpi / sleep.c
index b3e3cc7..54da4a3 100644 (file)
@@ -322,6 +322,11 @@ static struct dmi_system_id acpisleep_dmi_table[] __initdata = {
 
 static void acpi_sleep_dmi_check(void)
 {
+       int year;
+
+       if (dmi_get_date(DMI_BIOS_DATE, &year, NULL, NULL) && year >= 2012)
+               acpi_nvs_nosave_s3();
+
        dmi_check_system(acpisleep_dmi_table);
 }