Blame SOURCES/0001-Correct-two-comments.patch
|
|
33a11a |
From ce73d3ff5f3d2be67bd1213e21163db938943ac5 Mon Sep 17 00:00:00 2001
|
|
|
33a11a |
From: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
33a11a |
Date: Wed, 24 Oct 2018 10:10:46 +1000
|
|
|
33a11a |
Subject: [PATCH 1/4] Correct two comments
|
|
|
33a11a |
|
|
|
33a11a |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
33a11a |
Reviewed-by: Ping Cheng <ping.cheng@wacom.com>
|
|
|
33a11a |
(cherry picked from commit 6e2728780056614e4b2f37abde4f60f072edc95a)
|
|
|
33a11a |
---
|
|
|
33a11a |
src/wcmUSB.c | 6 ++----
|
|
|
33a11a |
1 file changed, 2 insertions(+), 4 deletions(-)
|
|
|
33a11a |
|
|
|
33a11a |
diff --git a/src/wcmUSB.c b/src/wcmUSB.c
|
|
|
33a11a |
index 8ded958..8a07368 100644
|
|
|
33a11a |
--- a/src/wcmUSB.c
|
|
|
33a11a |
+++ b/src/wcmUSB.c
|
|
|
33a11a |
@@ -980,9 +980,7 @@ static void usbParseEvent(InputInfoPtr pInfo,
|
|
|
33a11a |
|
|
|
33a11a |
DBG(10, common, "\n");
|
|
|
33a11a |
|
|
|
33a11a |
- /* store events until we receive the MSC_SERIAL containing
|
|
|
33a11a |
- * the serial number or a SYN_REPORT.
|
|
|
33a11a |
- */
|
|
|
33a11a |
+ /* store events until we receive a SYN_REPORT */
|
|
|
33a11a |
|
|
|
33a11a |
/* space left? bail if not. */
|
|
|
33a11a |
if (private->wcmEventCnt >= ARRAY_SIZE(private->wcmEvents))
|
|
|
33a11a |
@@ -1036,7 +1034,7 @@ static void usbParseSynEvent(InputInfoPtr pInfo,
|
|
|
33a11a |
}
|
|
|
33a11a |
else
|
|
|
33a11a |
{
|
|
|
33a11a |
- /* not an SYN_REPORT and not an SYN_REPORT, bail out */
|
|
|
33a11a |
+ /* not a MSC_SERIAL and not a SYN_REPORT, bail out */
|
|
|
33a11a |
return;
|
|
|
33a11a |
}
|
|
|
33a11a |
|
|
|
33a11a |
--
|
|
|
33a11a |
2.19.2
|
|
|
33a11a |
|