From: Imre Deak Date: Mon, 20 Mar 2006 20:12:54 +0000 (-0400) Subject: ARM: OMAP: update ads7846 x_plate_ohm for N770 X-Git-Tag: v2.6.16-omap1~31 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a84fbe4d64107bbf4ef96a26742d10b285b89bfb;p=linux-2.6-omap-h63xx.git ARM: OMAP: update ads7846 x_plate_ohm for N770 Change the X plate resistance so that user-space gets the pressure value range it expects. Signed-off-by: Imre Deak Signed-off-by: Juha Yrjola --- diff --git a/arch/arm/mach-omap1/board-nokia770.c b/arch/arm/mach-omap1/board-nokia770.c index 4d09f676496..c8ea991a79e 100644 --- a/arch/arm/mach-omap1/board-nokia770.c +++ b/arch/arm/mach-omap1/board-nokia770.c @@ -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,