Input: atmel_mxt_ts - remove duplicate setup of ABS_MT_PRESSURE
authorNick Dyer <nick.dyer@itdev.co.uk>
Fri, 27 Jul 2018 18:45:20 +0000 (11:45 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 27 Jul 2018 18:59:30 +0000 (11:59 -0700)
Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/atmel_mxt_ts.c

index 9555947a2d4677cc710f84597579ce4aed34f79b..dcafb812ee7ef9190f89b6eb146f7b9cb2473a54 100644 (file)
@@ -2055,12 +2055,6 @@ static int mxt_initialize_input_device(struct mxt_data *data)
                                     0, 255, 0, 0);
        }
 
-       if (data->multitouch == MXT_TOUCH_MULTITOUCHSCREEN_T100 &&
-           data->t100_aux_ampl) {
-               input_set_abs_params(input_dev, ABS_MT_PRESSURE,
-                                    0, 255, 0, 0);
-       }
-
        if (data->multitouch == MXT_TOUCH_MULTITOUCHSCREEN_T100 &&
            data->t100_aux_vect) {
                input_set_abs_params(input_dev, ABS_MT_ORIENTATION,