[patch 3/3] spitz: fix touchscreen max presure
From: akpm@linux-foundation.org (akpm at linux-foundation.org)
Date: 2009-09-18 19:44:19
From: akpm@linux-foundation.org (akpm at linux-foundation.org)
Date: 2009-09-18 19:44:19
From: Pavel Machek <redacted> This fixes max_pressure for spitz's touchscreen, and is requirement for getting reasonable pressure numbers from touchscreen driver. Signed-off-by: Pavel Machek <redacted> Cc: Russell King <redacted> Cc: Eric Miao <redacted> 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, };
_