mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-27 04:54:41 +08:00
Input: atmel_mxt_ts - remove duplicate setup of ABS_MT_PRESSURE
Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
204b4eae0c
commit
e9326857f4
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user