summaryrefslogtreecommitdiff
path: root/packages/linux/linux-ezx/touchscreen-fix-r0.patch
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-05-31 16:05:08 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-31 16:05:08 +0000
commit926e0e782c571efe4d15ecbac02e596da808ebd8 (patch)
treebe5df2beede263ed95f890551e4e7993476bb7cf /packages/linux/linux-ezx/touchscreen-fix-r0.patch
parent4f33c9c183de6d97848c9c0302b8717251906144 (diff)
a780|e680 kernel update: adds touchscreen improvement fix and enables dyntick
add meta packages to build both kernels in one run (like we do for poodle) we will eventually unify the a780 and e680 kernel with runtime checks, but not for now
Diffstat (limited to 'packages/linux/linux-ezx/touchscreen-fix-r0.patch')
-rw-r--r--packages/linux/linux-ezx/touchscreen-fix-r0.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/linux/linux-ezx/touchscreen-fix-r0.patch b/packages/linux/linux-ezx/touchscreen-fix-r0.patch
new file mode 100644
index 0000000000..7d19a887fc
--- /dev/null
+++ b/packages/linux/linux-ezx/touchscreen-fix-r0.patch
@@ -0,0 +1,19 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- linux-2.6.16/drivers/input/touchscreen/pcap_ts.c~touchscreen-fix-r0 2006-05-30 23:18:22.000000000 +0200
++++ linux-2.6.16/drivers/input/touchscreen/pcap_ts.c 2006-05-30 23:29:34.000000000 +0200
+@@ -126,10 +126,7 @@
+ if (ret < 0)
+ return ret;
+
+- if (tmp & 0x00400000)
+- return -EIO;
+-
+- if (pcap_ts->read_state == COORDINATE) {
++ if (pcap_ts->read_state == COORDINATE && !(tmp & 0x00400000)) {
+ pcap_ts->x = (tmp & SSP_PCAP_ADD1_VALUE_MASK);
+ pcap_ts->y = (tmp & SSP_PCAP_ADD2_VALUE_MASK)
+ >>SSP_PCAP_ADD2_VALUE_SHIFT;