ACPI: save NVS memory for Lenovo G50-45
authorZhang Rui <rui.zhang@intel.com>
Mon, 16 Jan 2017 02:55:45 +0000 (10:55 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 31 Jan 2017 21:46:59 +0000 (22:46 +0100)
commitcbc00c1310d34139a63946482b40a6b261a03fb9
tree15c44c05d187a6dda0e04016c56b48ac17c6953d
parent566cf877a1fcb6d6dc0126b076aad062054c2637
ACPI: save NVS memory for Lenovo G50-45

In commit 821d6f0359b0 (ACPI / sleep: Do not save NVS for new machines to
accelerate S3), to optimize S3 suspend/resume speed, code is introduced
to ignore NVS memory saving during S3 for all the platforms later than
2012.

But, Lenovo G50-45, a platform released in 2015, still needs NVS memory
saving during S3. A quirk is introduced for this platform.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=189431
Tested-by: Przemek <soprwa@gmail.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
[ rjw: Drop unnecessary code ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/sleep.c