rk2928: touchscreen: update driver only support fw version: 7 6 6 4
authorkfx <kfx@rock-chips.com>
Wed, 29 Aug 2012 01:03:46 +0000 (09:03 +0800)
committerkfx <kfx@rock-chips.com>
Wed, 29 Aug 2012 01:03:46 +0000 (09:03 +0800)
drivers/input/touchscreen/sitronix_ts_a720.c

index 3a959941b2d001281811139ca989b131c7d98b49..c34f6773a9dd0f73728437d6fa5be80a033f4ba4 100755 (executable)
@@ -30,9 +30,6 @@
 #include <linux/gpio.h>
 #include <mach/board.h>
 #include <linux/input/mt.h>
-/************ for A720 A&B config **************/
-#define RK2928_A720_A    //for A 
-/***********************************************/
 
 #ifdef SITRONIX_MONITOR_THREAD
 #include <linux/kthread.h>
@@ -764,11 +761,7 @@ static void sitronix_ts_work_func(struct work_struct *work)
                                input_report_abs(ts->input_dev,  ABS_MT_TRACKING_ID, i);
                                input_report_abs(ts->input_dev,  ABS_MT_TOUCH_MAJOR, 200);
                                input_report_abs(ts->input_dev,  ABS_MT_POSITION_X, MTDStructure[i].Pixel_X);
-                                #ifdef RK2928_A720_A
-                               input_report_abs(ts->input_dev,  ABS_MT_POSITION_Y, 480 - MTDStructure[i].Pixel_Y);
-                                #else
                                input_report_abs(ts->input_dev,  ABS_MT_POSITION_Y, MTDStructure[i].Pixel_Y);
-                                #endif
                                input_report_abs(ts->input_dev,  ABS_MT_WIDTH_MAJOR, 100);
                                DbgMsg("lr[%d](%d, %d)+\n", i, MTDStructure[i].Pixel_X, MTDStructure[i].Pixel_Y);
                        }else if(MTDStructure[i].Current_Pressed_area == AREA_NONE){