commit | 10b45d227551fe9bafd70f7a194f1da9a378f132 | [log] [tgz] |
---|---|---|
author | Vinicius Costa Gomes <vinicius.gomes@openbossa.org> | Sat Jul 14 18:59:25 2012 -0300 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Tue Mar 05 15:11:18 2013 -0800 |
tree | 050f75362dd49af64d3081d5dd4cfff4b9616e35 | |
parent | 41257e63478b48993d890fb21f4aff0746fa0140 [diff] |
HID: uhid: Fix sending events with invalid data This was detected because events with invalid types were arriving to userspace. The code before this patch would only work for the first event in the queue (when uhid->tail is 0). Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org> Reviewed-by: David Herrmann <dh.herrmann@googlemail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Satish kumar sugasi <ssugas@codeaurora.org>