mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
xf86-video-nvidia: update to xf86-video-nvidia-331.49
This commit is contained in:
parent
565cdd7f27
commit
4bac621bdb
@ -17,7 +17,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="xf86-video-nvidia"
|
PKG_NAME="xf86-video-nvidia"
|
||||||
PKG_VERSION="331.38"
|
PKG_VERSION="331.49"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="i386 x86_64"
|
PKG_ARCH="i386 x86_64"
|
||||||
PKG_LICENSE="nonfree"
|
PKG_LICENSE="nonfree"
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
diff --git a/kernel/nv-acpi.c b/kernel/nv-acpi.c
|
|
||||||
index b0138cd..756f330 100644
|
|
||||||
--- a/kernel/nv-acpi.c
|
|
||||||
+++ b/kernel/nv-acpi.c
|
|
||||||
@@ -303,8 +303,11 @@ static int nv_acpi_remove(struct acpi_device *device, int type)
|
|
||||||
|
|
||||||
if (pNvAcpiObject->notify_handler_installed)
|
|
||||||
{
|
|
||||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0)
|
|
||||||
+/* beginning with 3.13, acpi_remove_notify_handler() waits for events to finish */
|
|
||||||
NV_ACPI_OS_WAIT_EVENTS_COMPLETE();
|
|
||||||
|
|
||||||
+#endif
|
|
||||||
// remove event notifier
|
|
||||||
status = acpi_remove_notify_handler(device->handle, ACPI_DEVICE_NOTIFY, nv_acpi_event);
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user