Prechádzať zdrojové kódy

ACPI: suspend: delete toshiba S1 quirk

If we have quirk "init...  after standby", we should not be calling it while
resuming from hibernation.  And...  that quirk is only ever needed on toshiba
4030cdt...  and...  noone should be using standby these days, anyway.

That quirk was certainly _not_ meant to be ran after hibernation.

Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Pavel Machek 18 rokov pred
rodič
commit
33ce203343
1 zmenil súbory, kde vykonal 0 pridanie a 5 odobranie
  1. 0 5
      drivers/acpi/sleep/main.c

+ 0 - 5
drivers/acpi/sleep/main.c

@@ -210,11 +210,6 @@ static void acpi_hibernation_finish(void)
 
 	/* reset firmware waking vector */
 	acpi_set_firmware_waking_vector((acpi_physical_address) 0);
-
-	if (init_8259A_after_S1) {
-		printk("Broken toshiba laptop -> kicking interrupts\n");
-		init_8259A(0);
-	}
 }
 
 static struct hibernation_ops acpi_hibernation_ops = {