Skip to contentSkip to conversation

Restore _DOS value at video module unload

PATCH New Rafal 1 participant 1 message Aug 15, 2014 ACPI

lore
Share & tools
lore

Rafal

author
#0 lore raw

PATCH 1/1 Restore _DOS value at video module unload

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.

drivers/acpi/video.c 2014-08-12 12:24:18.754029732 +0000 renamed from drivers/acpi/video.c 2014-08-03 22:25:02.000000000 +0000 +1 -2
@@ -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)