From: Pavel Machek Date: Fri, 18 Sep 2009 19:44:19 +0000 (-0700) Subject: ARM: spitz: fix touchscreen max presure X-Git-Tag: v2.6.32-rc1~49^2~1^2~10 X-Git-Url: http://ftp.safe.ca/?p=safe%2Fjmp%2Flinux-2.6;a=commitdiff_plain;h=3318c4bddba34be4881cfcf8cf3d56e41678b716 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 Cc: Russell King Cc: Eric Miao Signed-off-by: Andrew Morton Signed-off-by: Russell King --- diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c index dda310f..08d08f4 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 = { .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, };