]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
x86/reboot/quirks: Add ASUS EeeBook X205TA/W reboot quirk
authorMatjaz Hegedic <matjaz.hegedic@gmail.com>
Sun, 5 Mar 2017 18:16:44 +0000 (19:16 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 6 Mar 2017 10:47:43 +0000 (11:47 +0100)
Without the parameter reboot=a, ASUS EeeBook X205TA/W will hang
when it should reboot. This adds the appropriate quirk, thus
fixing the problem.

Signed-off-by: Matjaz Hegedic <matjaz.hegedic@gmail.com>
Link: http://lkml.kernel.org/r/1488737804-20681-1-git-send-email-matjaz.hegedic@gmail.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/reboot.c

index 01c9cda3e1b77dfa0dd0a533fc7015120b0c8ea1..4194d6f9bb290bcce8a581b3e3a38bf010262f0c 100644 (file)
@@ -231,6 +231,14 @@ static struct dmi_system_id __initdata reboot_dmi_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "X205TAW"),
                },
        },
+       {       /* Handle problems with rebooting on ASUS EeeBook X205TAW */
+               .callback = set_acpi_reboot,
+               .ident = "ASUS EeeBook X205TAW",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "X205TAW"),
+               },
+       },
 
        /* Certec */
        {       /* Handle problems with rebooting on Certec BPC600 */