Răsfoiți Sursa

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 ani în urmă
părinte
comite
33ce203343
1 a modificat fișierele cu 0 adăugiri și 5 ștergeri
  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 */
 	/* reset firmware waking vector */
 	acpi_set_firmware_waking_vector((acpi_physical_address) 0);
 	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 = {
 static struct hibernation_ops acpi_hibernation_ops = {