Ignore:
Timestamp:
Apr 14, 2017, 9:41:36 PM (3 months ago)
Author:
brainslayer
Message:

kernel update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-4.9/drivers/acpi/sleep.c

    r31574 r31859  
    131131}
    132132
     133static int __init init_nvs_save_s3(const struct dmi_system_id *d)
     134{
     135        nvs_nosave_s3 = false;
     136        return 0;
     137}
     138
    133139/*
    134140 * ACPI 1.0 wants us to execute _PTS before suspending devices, so we allow the
     
    323329                DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK Computer Inc."),
    324330                DMI_MATCH(DMI_PRODUCT_NAME, "K54HR"),
     331                },
     332        },
     333        /*
     334         * https://bugzilla.kernel.org/show_bug.cgi?id=189431
     335         * Lenovo G50-45 is a platform later than 2012, but needs nvs memory
     336         * saving during S3.
     337         */
     338        {
     339        .callback = init_nvs_save_s3,
     340        .ident = "Lenovo G50-45",
     341        .matches = {
     342                DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
     343                DMI_MATCH(DMI_PRODUCT_NAME, "80E3"),
    325344                },
    326345        },
Note: See TracChangeset for help on using the changeset viewer.