freebsd-ports/x11-drivers/xf86-input-fpit/files/patch-git_06_270607a
Baptiste Daroussin 4a3e2ef22f Import few patches from upstream to allow building with newer xorg
Note that those drivers are barely maintained and might disappear in the futur

PR:		216272
Submitted by:	matthew@reztek.cz
2017-01-23 22:27:49 +00:00

22 lines
747 B
Text

From 270607ae055a21bdac44f905a791260c5b34089b Mon Sep 17 00:00:00 2001
From: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue, 19 Jul 2011 12:32:50 +1000
Subject: Don't call DEVICE_OFF in UnInit, the server does it for us
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
diff --git a/src/xf86Fpit.c b/src/xf86Fpit.c
index 9ab3bb0..eb85a2e 100644
--- src/xf86Fpit.c
+++ src/xf86Fpit.c
@@ -542,7 +542,6 @@ static int xf86FpitAllocate(InputDriverPtr drv, InputInfoPtr pInfo)
static void xf86FpitUninit(InputDriverPtr drv, InputInfoPtr pInfo, int flags)
{
FpitPrivatePtr priv = (FpitPrivatePtr) pInfo->private;
- xf86FpitControl(pInfo->dev, DEVICE_OFF);
free(priv->fpitDev);
free(priv);
pInfo->private = NULL;
--
cgit v0.10.2