HID: logitech-hidpp: detect HID++ 2.0 errors too
authorPeter Wu <peter@lekensteyn.nl>
Tue, 16 Dec 2014 00:50:14 +0000 (01:50 +0100)
committerJiri Kosina <jkosina@suse.cz>
Fri, 19 Dec 2014 10:44:11 +0000 (11:44 +0100)
Devices speaking HID++ 2.0 report a different error code (0xff). Detect
these errors too to avoid 5 second delays when the device reports an
error. Caught by... well, a bug in the QEMU emulation of this receiver.

Renamed fap to rap for HID++ 1.0 errors because it is more logical,
it has no functional difference.

Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>

No differences found