b1a1442a23776756b254b69786848a94d92445ba is the first bad commit
commit b1a1442a23776756b254b69786848a94d92445ba
Author: Jiri Kosina <email address hidden>
Date: Mon Jun 3 11:27:48 2013 +0200
HID: core: fix reporting of raw events
hdrw->raw event can return three different return value types:
- ret < 0 indicates that the hdrv driver found an error while parsing
- ret == 0 indicates no error has been encountered, and the driver has processed the report
- ret > 0 indicates that there was no parsing error, and the driver hasn't
processed the event.
Calling hid_report_raw_event() has to be called appropriately so that it
reflects what has been done by ->raw_event() callback, otherwise we might
updates of the in-kernel structure are lost upon arrival of the report, which
is wrong.
b1a1442a2377675 6b254b69786848a 94d92445ba is the first bad commit 6b254b69786848a 94d92445ba
commit b1a1442a2377675
Author: Jiri Kosina <email address hidden>
Date: Mon Jun 3 11:27:48 2013 +0200
HID: core: fix reporting of raw events
hdrw->raw event can return three different return value types:
- ret < 0 indicates that the hdrv driver found an error while parsing
processed the report
- ret == 0 indicates no error has been encountered, and the driver has
- ret > 0 indicates that there was no parsing error, and the driver hasn't
processed the event.
Calling hid_report_ raw_event( ) has to be called appropriately so that it
reflects what has been done by ->raw_event() callback, otherwise we might
updates of the in-kernel structure are lost upon arrival of the report, which
is wrong.
Reported- and-tested- by: Srinivas Pandruvada <email address hidden> and-tested- by: Daniel Leung <email address hidden>
Reported-
Signed-off-by: Jiri Kosina <email address hidden>
:040000 040000 b61567a56058c05 fb38864f834625b 7910655476 7820cb9b91fb4d8 48a04b805d28da0 5c3ac8513b M drivers