summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-petalynx.c
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2012-04-22 14:21:39 +0200
committerJiri Kosina <jkosina@suse.cz>2012-05-01 12:54:53 +0200
commit2a039bf5a6caa6b41c3839c1e3a19b20fb38270b (patch)
treeead38dc1262b0f62063607d08ef354faccdc9df9 /drivers/hid/hid-petalynx.c
parent07d9ab4f0e52cb2a383596e5ebbbd20232501393 (diff)
HID: hid-logitech: Collect report descriptors before sending
The current code allows several consecutive calls to hid_parse_report(), which may have happened to work before, but would cause a memory leak and generally be incorrect. This patch collects all the reports before sending them once. Cc: Nestor Lopez Casado <nlopezcasad@logitech.com> Tested-by: Benjamin Tissoires <benjamin.tissoires@gmail.com Signed-off-by: Henrik Rydberg <rydberg@euromail.se> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-petalynx.c')
0 files changed, 0 insertions, 0 deletions