All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Restore _DOS value at video module unload
@ 2014-08-15 14:07 Rafal
  0 siblings, 0 replies; only message in thread
From: Rafal @ 2014-08-15 14:07 UTC (permalink / raw)
  To: Linux ACPI

Restore _DOS (Enable/Disable Output Switching) to their default/initial 
value at video module unload.
Change allows to function properly a display switch after unload of the 
module.

--- linux-3.16.org/drivers/acpi/video.c    2014-08-03 22:25:02.000000000 
+0000
+++ linux-3.16/drivers/acpi/video.c    2014-08-12 12:24:18.754029732 +0000
@@ -1551,8 +1551,7 @@

  static int acpi_video_bus_stop_devices(struct acpi_video_bus *video)
  {
-    return acpi_video_bus_DOS(video, 0,
-                  acpi_osi_is_win8() ? 0 : 1);
+    return acpi_video_bus_DOS(video, 1, 0);
  }

  static void acpi_video_bus_notify(struct acpi_device *device, u32 event)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-08-15 12:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-15 14:07 [PATCH] Restore _DOS value at video module unload Rafal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.