[PATCH] Restore _DOS value at video module unload

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)

--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux