dell-laptop: Wait less long before updating rfkill after an rfkill keypress
authorHans de Goede <hdegoede@redhat.com>
Sun, 17 Nov 2013 13:00:25 +0000 (14:00 +0100)
committerMatthew Garrett <matthew.garrett@nebula.com>
Wed, 20 Nov 2013 23:50:49 +0000 (18:50 -0500)
Some time is needed for the BIOS to do its work, but 250ms should be plenty.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/dell-laptop.c

index b33b77991523d8395b1b7b49a25c38896720a2b8..fe20f67ff44b80d65c804d0ea3825befa31d1d4f 100644 (file)
@@ -759,7 +759,7 @@ static bool dell_laptop_i8042_filter(unsigned char data, unsigned char str,
                switch (data) {
                case 0x8:
                        schedule_delayed_work(&dell_rfkill_work,
-                                             round_jiffies_relative(HZ));
+                                             round_jiffies_relative(HZ / 4));
                        break;
                }
                extended = false;