Commit 7535dbd5 authored by Pavel Machek's avatar Pavel Machek Committed by James Toy

This fixes max_pressure for spitz's touchscreen, and is requirement

for getting reasonable pressure numbers from touchscreen driver.
Signed-off-by: default avatarPavel Machek <pavel@ucw.cz>
Cc: Russell King <rmk@arm.linux.org.uk>                                        
Cc: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent df8dd077
......@@ -423,6 +423,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,
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment