Commit 37c434dd authored by Vojtech Pavlik's avatar Vojtech Pavlik

Merge

parents 3588748a ea288901
......@@ -348,7 +348,7 @@ static void hidinput_configure_usage(struct hid_device *device, struct hid_field
set_bit(usage->type, input->evbit);
while (usage->code <= max && test_and_set_bit(usage->code, bit)) {
usage->code = find_next_zero_bit(bit, max + 1, usage->code);
usage->code = find_next_zero_bit(bit, usage->code, max + 1);
}
if (usage->code > max) return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment