spitz: fix touchscreen max presure

From: Pavel Machek
Date: Sat Aug 08 2009 - 11:26:00 EST



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@xxxxxx>

diff -ur arm.ofic/mach-pxa/spitz.c arm/mach-pxa/spitz.c
--- a/arch/arm/mach-pxa/spitz.c 2009-07-15 01:39:13.000000000 +0200
+++ b/arch/arm/mach-pxa/spitz.c 2009-07-15 10:23:25.000000000 +0200
@@ -296,6 +296,7 @@
.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,
};

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/