aboutsummaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2014-03-11 18:19:53 -0700
committerColin Cross <ccross@android.com>2014-03-19 13:02:04 -0700
commit32a771aaf05c3599184ef5f9d2b545d79b5b3fc4 (patch)
tree8c9c6f09fd483b31376df21531b7c3db0d1ebfb6 /include/uapi
parent625c814c7d5730417d377b91f208df9449101624 (diff)
HACK: input: evdev: disable EVIOCREVOKE
Android used the same ioctl signature as EVOICREVOKE for EVIOCSSUSPENDBLOCK. Disable EVIOCREVOKE until Android userspace is available that uses EPOLLWAKEUP instead. Change-Id: I51aa63fd19b20a3966bef1c46d1bb845c2589a5a Signed-off-by: Colin Cross <ccross@android.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/input.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/uapi/linux/input.h b/include/uapi/linux/input.h
index bd24470d24a..24593061fea 100644
--- a/include/uapi/linux/input.h
+++ b/include/uapi/linux/input.h
@@ -152,7 +152,9 @@ struct input_keymap_entry {
#define EVIOCGEFFECTS _IOR('E', 0x84, int) /* Report number of effects playable at the same time */
#define EVIOCGRAB _IOW('E', 0x90, int) /* Grab/Release device */
-#define EVIOCREVOKE _IOW('E', 0x91, int) /* Revoke device access */
+
+/* HACK: disable conflicting EVIOCREVOKE until Android userspace stops using EVIOCSSUSPENDBLOCK */
+/*#define EVIOCREVOKE _IOW('E', 0x91, int)*/ /* Revoke device access */
#define EVIOCSCLOCKID _IOW('E', 0xa0, int) /* Set clockid to be used for timestamps */