* [patch 3/3] spitz: fix touchscreen max presure
@ 2009-09-18 19:44 akpm at linux-foundation.org
0 siblings, 0 replies; only message in thread
From: akpm at linux-foundation.org @ 2009-09-18 19:44 UTC (permalink / raw)
To: linux-arm-kernel
From: Pavel Machek <pavel@ucw.cz>
This fixes max_pressure for spitz's touchscreen, and is requirement
for getting reasonable pressure numbers from touchscreen driver.
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
arch/arm/mach-pxa/spitz.c | 1 +
1 file changed, 1 insertion(+)
diff -puN arch/arm/mach-pxa/spitz.c~spitz-fix-touchscreen-max-presure arch/arm/mach-pxa/spitz.c
--- a/arch/arm/mach-pxa/spitz.c~spitz-fix-touchscreen-max-presure
+++ a/arch/arm/mach-pxa/spitz.c
@@ -296,6 +296,7 @@ static struct ads7846_platform_data spit
.vref_delay_usecs = 100,
.x_plate_ohms = 419,
.y_plate_ohms = 486,
+ .pressure_max = 1024,
.gpio_pendown = SPITZ_GPIO_TP_INT,
.wait_for_sync = spitz_wait_for_hsync,
};
_
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-09-18 19:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-18 19:44 [patch 3/3] spitz: fix touchscreen max presure akpm at linux-foundation.org
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.