Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 84460014 authored by Ping Cheng's avatar Ping Cheng Committed by Dmitry Torokhov
Browse files

Input: wacom - cleanup a return value for the old Bamboo



The old code may call input_sync() without sending any other events.
While it will be suppressed by the input core not calling it at all
is still cheaper.

Signed-off-by: default avatarPing Cheng <pingc@wacom.com>
Reviewed-by: default avatarChris Bagwell <chris@cnpbagwell.com>
Reviewed-by: default avatarHenrik Rydberg <rydberg@euromail.se>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 0bd10ef8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -300,8 +300,8 @@ static int wacom_graphire_irq(struct wacom_wac *wacom)
				wacom->id[1] = 0;
			input_report_abs(input, ABS_MISC, wacom->id[1]);
			input_event(input, EV_MSC, MSC_SERIAL, 0xf0);
		}
			retval = 1;
		}
		break;
	}
exit: