projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3366dd9
)
HID: core: fix hid delimiter local tag parsing.
author
Paul Chavent
<paul.chavent@onera.fr>
Sun, 7 Jul 2013 15:43:56 +0000
(17:43 +0200)
committer
Jiri Kosina
<jkosina@suse.cz>
Fri, 12 Jul 2013 22:19:50 +0000
(
00:19
+0200)
When device with the DELIMITER tag in its report descriptor is encountered
during parsing, it's mistakenly immediately refused by HID core for no
justifiable reason.
[jkosina@suse.cz: polish changelog]
Signed-off-by: Paul Chavent <paul.chavent@onera.fr>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-core.c
patch
|
blob
|
history
diff --git
a/drivers/hid/hid-core.c
b/drivers/hid/hid-core.c
index e39dac68063cdb2d8cc4816f890d7f45eae9e1f3..8de5cb8319b9f4e28fc707971e3231eddaeb8557 100644
(file)
--- a/
drivers/hid/hid-core.c
+++ b/
drivers/hid/hid-core.c
@@
-450,7
+450,7
@@
static int hid_parser_local(struct hid_parser *parser, struct hid_item *item)
}
parser->local.delimiter_depth--;
}
- return
1
;
+ return
0
;
case HID_LOCAL_ITEM_TAG_USAGE: