aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/spitz.c
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2009-09-18 15:44:19 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-09-19 07:14:06 -0400
commit3318c4bddba34be4881cfcf8cf3d56e41678b716 (patch)
treebcbc99c74179213df61386cf7d273490f0872980 /arch/arm/mach-pxa/spitz.c
parent2cc0bab8616a3d0ae1bae11f5cf16a582424aa91 (diff)
ARM: spitz: fix touchscreen max presure
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> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa/spitz.c')
-rw-r--r--arch/arm/mach-pxa/spitz.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c
index dda310fe71c8..08d08f4a3836 100644
--- a/arch/arm/mach-pxa/spitz.c
+++ b/arch/arm/mach-pxa/spitz.c
@@ -296,6 +296,7 @@ static struct ads7846_platform_data spitz_ads7846_info = {
296 .vref_delay_usecs = 100, 296 .vref_delay_usecs = 100,
297 .x_plate_ohms = 419, 297 .x_plate_ohms = 419,
298 .y_plate_ohms = 486, 298 .y_plate_ohms = 486,
299 .pressure_max = 1024,
299 .gpio_pendown = SPITZ_GPIO_TP_INT, 300 .gpio_pendown = SPITZ_GPIO_TP_INT,
300 .wait_for_sync = spitz_wait_for_hsync, 301 .wait_for_sync = spitz_wait_for_hsync,
301}; 302};