Skip to content

Commit 3673c07

Browse files
committed
Sync trivial changes from upstream into trees
There have been some trivial changes made upstream that are missing from input-wacom. This copies them over so that the trees are in closer sync with each other. Signed-off-by: Jason Gerecke <[email protected]>
1 parent a3686d0 commit 3673c07

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

3.17/wacom_wac.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1397,6 +1397,7 @@ static void wacom_intuos_pro2_bt_pen(struct wacom_wac *wacom)
13971397
get_unaligned_le16(&frame[11]));
13981398
}
13991399
}
1400+
14001401
if (wacom->tool[0]) {
14011402
input_report_abs(pen_input, ABS_PRESSURE, get_unaligned_le16(&frame[5]));
14021403
if (wacom->features.type == INTUOSP2_BT ||

4.5/wacom_wac.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ void wacom_idleprox_timeout(struct timer_list *list)
7272
#else
7373
void wacom_idleprox_timeout(unsigned long data)
7474
{
75-
struct wacom *wacom = (struct wacom *)data;
75+
struct wacom *wacom = (struct wacom *)data;
7676
#endif
7777
struct wacom_wac *wacom_wac = &wacom->wacom_wac;
7878

@@ -1973,7 +1973,6 @@ static void wacom_map_usage(struct input_dev *input, struct hid_usage *usage,
19731973
code);
19741974
}
19751975
input_abs_set_res(input, code, resolution);
1976-
break;
19771976
break;
19781977
case EV_KEY:
19791978
case EV_MSC:

0 commit comments

Comments
 (0)