[ARM]: tegra: stingray: update ABS x,y max/min values to 0-base
authormakarand.karvekar <makarand.karvekar@motorola.com>
Thu, 3 Mar 2011 01:48:35 +0000 (19:48 -0600)
committerRebecca Schultz Zavin <rebecca@android.com>
Fri, 4 Mar 2011 01:14:39 +0000 (17:14 -0800)
Change-Id: I40e40c843ca732980d454aba721b338ee2e78f4d
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
arch/arm/mach-tegra/board-stingray-touch.c

index 02dec6d50db5209a3bca8c213ad854754b2d7cf0..92de67d607b0ac4548a62fd6473f552b9ead62fe 100644 (file)
@@ -239,9 +239,9 @@ struct qtouch_ts_platform_data stingray_touch_data_p0 = {
                           QTOUCH_CFG_BACKUPNV),
        .irqflags               = (IRQF_TRIGGER_LOW),
        .abs_min_x              = 10,
-       .abs_max_x              = 2570,
+       .abs_max_x              = 2569,
        .abs_min_y              = 15,
-       .abs_max_y              = 1615,
+       .abs_max_y              = 1614,
        .abs_min_p              = 0,
        .abs_max_p              = 255,
        .abs_min_w              = 0,
@@ -422,9 +422,9 @@ struct qtouch_ts_platform_data stingray_touch_data_p1_or_later = {
                           QTOUCH_CFG_BACKUPNV),
        .irqflags               = (IRQF_TRIGGER_LOW),
        .abs_min_x              = 10,
-       .abs_max_x              = 2570,
+       .abs_max_x              = 2569,
        .abs_min_y              = 15,
-       .abs_max_y              = 1615,
+       .abs_max_y              = 1614,
        .abs_min_p              = 0,
        .abs_max_p              = 255,
        .abs_min_w              = 0,