summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux/linux-zylonite-2.6.14/rp_ts_sync.patch
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:14:24 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:29:45 +0100
commit29d6678fd546377459ef75cf54abeef5b969b5cf (patch)
tree8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-kernel/linux/linux-zylonite-2.6.14/rp_ts_sync.patch
parentda49de6885ee1bc424e70bc02f21f6ab920efb55 (diff)
downloadpoky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-kernel/linux/linux-zylonite-2.6.14/rp_ts_sync.patch')
-rw-r--r--meta/recipes-kernel/linux/linux-zylonite-2.6.14/rp_ts_sync.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-zylonite-2.6.14/rp_ts_sync.patch b/meta/recipes-kernel/linux/linux-zylonite-2.6.14/rp_ts_sync.patch
new file mode 100644
index 0000000000..8d02f0365f
--- /dev/null
+++ b/meta/recipes-kernel/linux/linux-zylonite-2.6.14/rp_ts_sync.patch
@@ -0,0 +1,37 @@
1---
2 drivers/input/touchscreen/mhn_audio_touch.c | 8 ++++----
3 1 file changed, 4 insertions(+), 4 deletions(-)
4
5Index: linux-2.6.14/drivers/input/touchscreen/mhn_audio_touch.c
6===================================================================
7--- linux-2.6.14.orig/drivers/input/touchscreen/mhn_audio_touch.c 2007-10-24 23:02:47.000000000 +0100
8+++ linux-2.6.14/drivers/input/touchscreen/mhn_audio_touch.c 2007-10-24 23:04:36.000000000 +0100
9@@ -94,6 +94,7 @@ static int codec_zy_ts_evt_add(codec_zy_
10 }
11 pre_press = pressure;
12 input_report_abs(ts->idev, ABS_PRESSURE, pressure & 0xfff);
13+ input_sync(ts->idev);
14 #ifdef CONFIG_IPM
15 ipm_event_notify(IPM_EVENT_UI, IPM_EVENT_DEVICE_TSI, NULL, 0);
16 #endif
17@@ -106,6 +107,7 @@ static int codec_zy_ts_evt_add(codec_zy_
18 static void codec_zy_ts_evt_release(codec_zy_ts_t* ts)
19 {
20 input_report_abs(ts->idev, ABS_PRESSURE, 0);
21+ input_sync(ts->idev);
22 #ifdef CONFIG_IPM
23 ipm_event_notify(IPM_EVENT_UI, IPM_EVENT_DEVICE_TSI, NULL, 0);
24 #endif
25@@ -252,10 +254,8 @@ static int alsa_ts_init( void )
26 codec_zy_ts_input.name = "codec zy touchscreen";
27 codec_zy_ts_input.open = codec_zy_ts_input_open;
28 codec_zy_ts_input.close = codec_zy_ts_input_close;
29- __set_bit(EV_ABS, codec_zy_ts_input.evbit);
30- __set_bit(ABS_X, codec_zy_ts_input.absbit);
31- __set_bit(ABS_Y, codec_zy_ts_input.absbit);
32- __set_bit(ABS_PRESSURE, codec_zy_ts_input.absbit);
33+ codec_zy_ts_input.evbit[0] = BIT(EV_ABS);
34+ codec_zy_ts_input.absbit[0] = BIT(ABS_X) | BIT(ABS_Y) | BIT(ABS_PRESSURE);
35 input_register_device(&codec_zy_ts_input);
36
37 return 0;