]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] pxa/hx4700: fix hx4700 touchscreen pressure values
authorPaul Parsons <lost.distance@yahoo.com>
Sat, 14 Nov 2009 16:54:12 +0000 (16:54 +0000)
committerEric Miao <eric.y.miao@gmail.com>
Mon, 16 Nov 2009 16:36:16 +0000 (00:36 +0800)
commitba8109ba32b79898e5f08fa0a1b8dc0c91a991f3
tree1a7569780839ffebaa8471abd8b1dd9433aa617a
parent7d65204d4a3bbccf1ea1c363c37d480460a7f1b8
[ARM] pxa/hx4700: fix hx4700 touchscreen pressure values

hx4700 touchscreen events were being dropped in ads7846_rx() because their
pressure values consistently exceeded the platform maximum of 512; a sample
of 256 pressure values were in the range 531 to 815.  Doubling the platform
maximum to 1024 allows hx4700 touchscreen events to pass the test.

Signed-off-by: Paul Parsons <lost.distance@yahoo.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/mach-pxa/hx4700.c