]> code.ossystems Code Review - meta-freescale.git/commitdiff
linux-imx (3.0.35): Fix imx6sabrelite patch to remove eGalax change
authorOtavio Salvador <otavio@ossystems.com.br>
Tue, 22 Jan 2013 11:10:22 +0000 (09:10 -0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 22 Jan 2013 11:11:50 +0000 (09:11 -0200)
The eGalax change is now applied in all linux-imx-3.0.35 kernels so we
need to remove this from the patch.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/recipes-kernel/linux/linux-imx-3.0.35/imx6qsabrelite/sync-boundary-changes.patch
meta-fsl-arm/recipes-kernel/linux/linux-imx_3.0.35.bb

index d0b6b0a8fd2c2ae2a8e9e35aa9fb4bd6314ceb65..48cf7a7272b532a2eacecd6cb0054ef1ec224d4f 100644 (file)
@@ -5085,23 +5085,6 @@ new mode 100644
 index 7cf975a..a2589e4
 --- a/drivers/input/touchscreen/Kconfig
 +++ b/drivers/input/touchscreen/Kconfig
-@@ -199,6 +199,16 @@ config TOUCHSCREEN_ELAN
-         To compile this driver as a module, choose M here: the
-         module will be called elan-touch.
-+config TOUCHSCREEN_EGALAX_SINGLE_TOUCH
-+      bool "EETI eGalax touchscreen as single-touch"
-+      default N
-+      depends on TOUCHSCREEN_EGALAX
-+      help
-+        If you say yes here you get single-touch touchscreen support
-+        on the eGalax I2C controller.
-+        If you say "no", you'll get the normal multi-touch.
-+
-+
- config TOUCHSCREEN_FUJITSU
-       tristate "Fujitsu serial touchscreen"
-       select SERIO
 @@ -282,6 +292,22 @@ config TOUCHSCREEN_MAX11801
          To compile this driver as a module, choose M here: the
          module will be called max11801_ts.
@@ -5166,39 +5149,6 @@ index e614512..eac3453
 diff --git a/drivers/input/touchscreen/da9052_tsi_filter.c b/drivers/input/touchscreen/da9052_tsi_filter.c
 old mode 100755
 new mode 100644
-diff --git a/drivers/input/touchscreen/egalax_ts.c b/drivers/input/touchscreen/egalax_ts.c
-index fff8afe..0b6cde7 100644
---- a/drivers/input/touchscreen/egalax_ts.c
-+++ b/drivers/input/touchscreen/egalax_ts.c
-@@ -139,7 +139,7 @@ retry:
-               events[id].x = x;
-               events[id].y = y;
--#ifdef FORCE_SINGLE_POINTER_SUPPORT
-+#ifdef CONFIG_TOUCHSCREEN_EGALAX_SINGLE_TOUCH
-               input_report_abs(input_dev, ABS_X, x);
-               input_report_abs(input_dev, ABS_Y, y);
-               input_event(data->input_dev, EV_KEY, BTN_TOUCH, 1);
-@@ -166,7 +166,7 @@ retry:
-               dev_dbg(&client->dev, "release id:%d\n", id);
-               events[id].valid = 0;
-               events[id].status = 0;
--#ifdef FORCE_SINGLE_POINTER_SUPPORT
-+#ifdef CONFIG_TOUCHSCREEN_EGALAX_SINGLE_TOUCH
-               input_report_key(input_dev, BTN_TOUCH, 0);
-               input_report_abs(input_dev, ABS_PRESSURE, 0);
- #else
-@@ -256,8 +256,9 @@ static int __devinit egalax_ts_probe(struct i2c_client *client,
-       __set_bit(ABS_PRESSURE, input_dev->absbit);
-       input_set_abs_params(input_dev, ABS_X, 0, 32767, 0, 0);
-       input_set_abs_params(input_dev, ABS_Y, 0, 32767, 0, 0);
-+      input_set_abs_params(input_dev, ABS_PRESSURE, 0, 1, 0, 0);
--#ifndef FORCE_SINGLE_POINTER_SUPPORT
-+#ifndef CONFIG_TOUCHSCREEN_EGALAX_SINGLE_TOUCH
-       input_set_abs_params(input_dev, ABS_MT_POSITION_X, 0, 32767, 0, 0);
-       input_set_abs_params(input_dev, ABS_MT_POSITION_Y, 0, 32767, 0, 0);
-       input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0);
 diff --git a/drivers/input/touchscreen/ft5x06_ts.c b/drivers/input/touchscreen/ft5x06_ts.c
 new file mode 100644
 index 0000000..89b5726
index 9c4b0bedc6a950f40e4e6a77b305caa04b22950b..149366b125e9a695de121afefc53a0a3b02a6e6f 100644 (file)
@@ -3,7 +3,7 @@
 
 include linux-imx.inc
 
-PR = "${INC_PR}.8"
+PR = "${INC_PR}.9"
 
 COMPATIBLE_MACHINE = "(mx6)"