Skip to content

Commit

Permalink
Correct minor upstream differences
Browse files Browse the repository at this point in the history
Accidentally introduced when cleaning up code for 4.18+

Fixes: ce3eb87 ("Clean up source code for 4.18+")
Signed-off-by: Jason Gerecke <[email protected]>
  • Loading branch information
jigpu committed Sep 4, 2024
1 parent f7b524f commit a865de8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion 4.18/wacom_sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -2613,7 +2613,6 @@ static void wacom_remote_destroy_one(struct wacom *wacom, unsigned int index)

remote->remotes[i].serial = 0;
remote->remotes[i].group.name = NULL;

wacom->led.groups[i].select = WACOM_STATUS_UNKNOWN;
}
}
Expand Down
3 changes: 2 additions & 1 deletion 4.18/wacom_wac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1893,8 +1893,9 @@ static void wacom_map_usage(struct input_dev *input, struct hid_usage *usage,
int resolution_code = code;
int resolution = hidinput_calc_abs_res(field, resolution_code);

if (equivalent_usage == HID_DG_TWIST)
if (equivalent_usage == HID_DG_TWIST) {
resolution_code = ABS_RZ;
}

if (equivalent_usage == HID_GD_X) {
fmin += features->offset_left;
Expand Down

0 comments on commit a865de8

Please sign in to comment.