Messages in this thread Patch in this message | | | Subject | [PATCH 1/11] input: HID devices can have the same logical max and min | Date | Sat, 21 Jun 2003 15:51:57 +0200 | From | Vojtech Pavlik <> |
| |
You can pull this changeset from: bk://kernel.bkbits.net/vojtech/input
===================================================================
ChangeSet@1.1359, 2003-06-21 04:32:06-07:00, A.Wegele@tu-bs.de input: logical maximum and minimum can have the same value in HID.
hid-core.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
===================================================================
diff -Nru a/drivers/usb/input/hid-core.c b/drivers/usb/input/hid-core.c --- a/drivers/usb/input/hid-core.c Sat Jun 21 15:24:52 2003 +++ b/drivers/usb/input/hid-core.c Sat Jun 21 15:24:52 2003 @@ -215,7 +215,7 @@ return -1; } - if (parser->global.logical_maximum <= parser->global.logical_minimum) { + if (parser->global.logical_maximum < parser->global.logical_minimum) { dbg("logical range invalid %d %d", parser->global.logical_minimum, parser->global.logical_maximum); return -1; } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |