]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-omap2/board-n800.c
tsc2301 - add coordinate average filter
[linux-2.6-omap-h63xx.git] / arch / arm / mach-omap2 / board-n800.c
index 542e804d33669c74a2b1c50e2fd6bc1bac4f0bc3..f161f8d18ba936280b753715b21ed79172046ef7 100644 (file)
@@ -330,7 +330,7 @@ static void __init n800_ts_set_config(void)
        if (conf != NULL) {
                if (strcmp(conf->panel_name, "lph8923") == 0) {
                        tsc2301_config.ts_x_plate_ohm   = 180;
-                       tsc2301_config.ts_hw_avg        = 4;
+                       tsc2301_config.ts_hw_avg        = 8;
                        tsc2301_config.ts_max_pressure  = 2048;
                        tsc2301_config.ts_touch_pressure = 400;
                        tsc2301_config.ts_stab_time     = 100;
@@ -341,7 +341,7 @@ static void __init n800_ts_set_config(void)
                        tsc2301_config.ts_y_fudge       = 7;
                } else if (strcmp(conf->panel_name, "ls041y3") == 0) {
                        tsc2301_config.ts_x_plate_ohm   = 280;
-                       tsc2301_config.ts_hw_avg        = 16;
+                       tsc2301_config.ts_hw_avg        = 8;
                        tsc2301_config.ts_touch_pressure = 400;
                        tsc2301_config.ts_max_pressure  = 2048;
                        tsc2301_config.ts_stab_time     = 1000;