Commit 3d11ae81 authored by Chris Bagwell's avatar Chris Bagwell Committed by Dmitry Torokhov

Input: wacom - remove unneeded touch pressure initialization

These were left in during removal of touch pressure reports but not
needed now.
Signed-off-by: default avatarChris Bagwell <chris@cnpbagwell.com>
Reviewed-by: default avatarPing Cheng <pingc@wacom.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent f80aee7f
...@@ -1029,8 +1029,6 @@ void wacom_setup_device_quirks(struct wacom_features *features) ...@@ -1029,8 +1029,6 @@ void wacom_setup_device_quirks(struct wacom_features *features)
features->y_max <<= 5; features->y_max <<= 5;
features->x_fuzz <<= 5; features->x_fuzz <<= 5;
features->y_fuzz <<= 5; features->y_fuzz <<= 5;
features->pressure_max = 256;
features->pressure_fuzz = 16;
features->quirks |= WACOM_QUIRK_BBTOUCH_LOWRES; features->quirks |= WACOM_QUIRK_BBTOUCH_LOWRES;
} }
} }
...@@ -1219,9 +1217,6 @@ void wacom_setup_input_capabilities(struct input_dev *input_dev, ...@@ -1219,9 +1217,6 @@ void wacom_setup_input_capabilities(struct input_dev *input_dev,
input_set_abs_params(input_dev, ABS_MT_POSITION_Y, input_set_abs_params(input_dev, ABS_MT_POSITION_Y,
0, features->y_max, 0, features->y_max,
features->y_fuzz, 0); features->y_fuzz, 0);
input_set_abs_params(input_dev, ABS_MT_PRESSURE,
0, features->pressure_max,
features->pressure_fuzz, 0);
} else if (features->device_type == BTN_TOOL_PEN) { } else if (features->device_type == BTN_TOOL_PEN) {
__set_bit(BTN_TOOL_RUBBER, input_dev->keybit); __set_bit(BTN_TOOL_RUBBER, input_dev->keybit);
__set_bit(BTN_TOOL_PEN, input_dev->keybit); __set_bit(BTN_TOOL_PEN, input_dev->keybit);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment