]> code.ossystems Code Review - meta-freescale.git/commitdiff
egalax: touchscreen single event mode
authorAdrian Alonso <b38018@freescale.com>
Wed, 24 Aug 2011 22:52:27 +0000 (17:52 -0500)
committerAdrian Alonso <b38018@freescale.com>
Wed, 24 Aug 2011 22:52:27 +0000 (17:52 -0500)
* Kernel patch for enabling single event mode for
  eGalax touchscreen driver.

Signed-off-by: Adrian Alonso <b38018@freescale.com>
meta-fsl-arm/recipes-kernel/linux/linux-imx/egalax_ts-enable-single-event-support.patch [new file with mode: 0644]

diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-imx/egalax_ts-enable-single-event-support.patch b/meta-fsl-arm/recipes-kernel/linux/linux-imx/egalax_ts-enable-single-event-support.patch
new file mode 100644 (file)
index 0000000..e07a15d
--- /dev/null
@@ -0,0 +1,30 @@
+From ebe473696da4f4de48b973c93c8bd32300baa818 Mon Sep 17 00:00:00 2001
+From: Adrian Alonso <b38018@freescale.com>
+Date: Wed, 24 Aug 2011 16:11:14 -0500
+Subject: [PATCH] egalax_ts: enable single event support
+
+* Enable single event support for Ubuntu and
+  Sato desktop touchscreen support
+
+Signed-off-by: Adrian Alonso <b38018@freescale.com>
+---
+ drivers/input/touchscreen/egalax_ts.c |    3 +++
+ 1 files changed, 3 insertions(+), 0 deletions(-)
+
+diff --git a/drivers/input/touchscreen/egalax_ts.c b/drivers/input/touchscreen/egalax_ts.c
+index 58273b9..05c9c49 100644
+--- a/drivers/input/touchscreen/egalax_ts.c
++++ b/drivers/input/touchscreen/egalax_ts.c
+@@ -57,6 +57,9 @@
+ #define MAX_I2C_DATA_LEN      10
++/* Enable single touch event mode */
++#define FORCE_SINGLE_POINTER_SUPPORT 1
++
+ struct egalax_pointer {
+       bool valid;
+       bool status;
+-- 
+1.7.4.1
+