spitz: fix touchscreen max presure
Subsystems (3)
PATCH 3/3 spitz: fix touchscreen max presure
From: Pavel Machek <[email protected]>
This fixes max_pressure for spitz's touchscreen, and is requirement for getting reasonable pressure numbers from touchscreen driver.
Signed-off-by Pavel Machek <[email protected]>
Cc Russell King <[email protected]>
Cc Eric Miao <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
arch/arm/mach-pxa/spitz.c | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-pxa/spitz.c renamed from arch/arm/mach-pxa/spitz.c~spitz-fix-touchscreen-max-presure +1 -0
@@ -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, };
_