mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* spitz: fix touchscreen max presure
@ 2009-08-07 18:09 Pavel Machek
  0 siblings, 0 replies; only message in thread
From: Pavel Machek @ 2009-08-07 18:09 UTC (permalink / raw)
  To: rpurdie, lenz, kernel list, Dirk, arminlitzel, Cyril Hrubis,
	thommycheck, linux-arm-kernel, dbaryshkov, omegamoon, eric.miao,
	utx, Russell King


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>

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-08-08 15:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-07 18:09 spitz: fix touchscreen max presure Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®