summaryrefslogtreecommitdiff
path: root/target/linux/s3c24xx/patches-2.6.24/1224-commit-5f42e24d361cd83178fe8da9d68efbf41a011483.patch
diff options
context:
space:
mode:
authorMirko Vogt <mirko@openwrt.org>2008-12-12 11:58:53 +0000
committerMirko Vogt <mirko@openwrt.org>2008-12-12 11:58:53 +0000
commit614683faf8029100802db06a825648d0b6490285 (patch)
tree7401b135dc7ce24ff0175e67e0f2ce7f96296ff0 /target/linux/s3c24xx/patches-2.6.24/1224-commit-5f42e24d361cd83178fe8da9d68efbf41a011483.patch
parent4a018d2445c5f249179ff82c8fffb0e3b717f738 (diff)
downloadmtk-20170518-614683faf8029100802db06a825648d0b6490285.zip
mtk-20170518-614683faf8029100802db06a825648d0b6490285.tar.gz
mtk-20170518-614683faf8029100802db06a825648d0b6490285.tar.bz2
changed Makefile and profiles, added patches for kernel 2.6.24 (stable-branch of Openmoko)
SVN-Revision: 13613
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.24/1224-commit-5f42e24d361cd83178fe8da9d68efbf41a011483.patch')
-rw-r--r--target/linux/s3c24xx/patches-2.6.24/1224-commit-5f42e24d361cd83178fe8da9d68efbf41a011483.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.24/1224-commit-5f42e24d361cd83178fe8da9d68efbf41a011483.patch b/target/linux/s3c24xx/patches-2.6.24/1224-commit-5f42e24d361cd83178fe8da9d68efbf41a011483.patch
new file mode 100644
index 0000000..22fe8e9
--- /dev/null
+++ b/target/linux/s3c24xx/patches-2.6.24/1224-commit-5f42e24d361cd83178fe8da9d68efbf41a011483.patch
@@ -0,0 +1,37 @@
+From 9af61cea8871d2303e06c5e71a121245d5fdc283 Mon Sep 17 00:00:00 2001
+From: Mike Westerhof <mwester@dls.net>
+Date: Sun, 6 Jul 2008 10:39:39 +0100
+Subject: [PATCH] commit 5f42e24d361cd83178fe8da9d68efbf41a011483
+
+ Add missing initialization for the touchscreen driver for the
+ gta01 platform.
+
+ Signed-off-by: Mike Westerhof <mwester@dls.net>
+---
+ arch/arm/mach-s3c2410/mach-gta01.c | 9 ++++++++-
+ 1 files changed, 8 insertions(+), 1 deletions(-)
+
+diff --git a/arch/arm/mach-s3c2410/mach-gta01.c b/arch/arm/mach-s3c2410/mach-gta01.c
+index a77ed3d..e518de7 100644
+--- a/arch/arm/mach-s3c2410/mach-gta01.c
++++ b/arch/arm/mach-s3c2410/mach-gta01.c
+@@ -494,8 +494,15 @@ static struct s3c2410_udc_mach_info gta01_udc_cfg = {
+
+ static struct s3c2410_ts_mach_info gta01_ts_cfg = {
+ .delay = 10000,
+- .presc = 65,
++ .presc = 50000000 / 1000000, /* 50 MHz PCLK / 1MHz */
++ /* simple averaging, 2^n samples */
+ .oversampling_shift = 5,
++ /* averaging filter length, 2^n */
++ .excursion_filter_len_bits = 5,
++ /* flagged for beauty contest on next sample if differs from
++ * average more than this
++ */
++ .reject_threshold_vs_avg = 2,
+ };
+
+ /* SPI */
+--
+1.5.6.5
+