]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: update ads7846 x_plate_ohm for N770
authorImre Deak <imre.deak@nokia.com>
Mon, 20 Mar 2006 20:12:54 +0000 (16:12 -0400)
committerJuha Yrjola <juha.yrjola@nokia.com>
Mon, 20 Mar 2006 20:12:54 +0000 (16:12 -0400)
Change the X plate resistance so that user-space gets the pressure
value range it expects.

Signed-off-by: Imre Deak <imre.deak@nokia.com>
Signed-off-by: Juha Yrjola <juha.yrjola@nokia.com>
arch/arm/mach-omap1/board-nokia770.c

index 4d09f676496bbd80fae60b5d67372fa80f848380..c8ea991a79e235c21f5a4ccdd2115d044b171882 100644 (file)
@@ -93,7 +93,7 @@ static struct platform_device *nokia770_devices[] __initdata = {
 static struct ads7846_platform_data nokia770_ads7846_platform_data __initdata = {
        .x_max          = 0x0fff,
        .y_max          = 0x0fff,
-       .x_plate_ohms   = 120,
+       .x_plate_ohms   = 180,
        .pressure_max   = 200,
        .debounce_max   = 10,
        .debounce_tol   = 3,