Skip to contentSkip to conversation

spitz: fix touchscreen max presure

PATCH Pavel Machek 1 participant 1 message Aug 8, 2009

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

This fixes max_pressure for spitz's touchscreen, and is requirement for getting reasonable pressure numbers from touchscreen driver.

arch/arm/mach-pxa/spitz.c +1 -0
diff -ur arm.ofic/mach-pxa/spitz.c arm/mach-pxa/spitz.c
@@ -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,
 };
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html