commit | b94e3c94aae04a911d61f620f4ff5b575fc196ad | [log] [tgz] |
---|---|---|
author | Matthieu CASTET <matthieu.castet@parrot.com> | Thu Jun 28 16:53:11 2012 +0200 |
committer | Jiri Kosina <jkosina@suse.cz> | Fri Jul 20 10:02:24 2012 +0200 |
tree | 4153aa1c92ee53ab9cc9b5243e641fc9926b4366 | |
parent | 4c7b417ecb756e85dfc955b0e7a04fd45585533e [diff] |
HID: hid-core: optimize in case of hidraw When using hidraw, hid buffer can be big and take lot's of time to process (interrupt) kernel context. Don't try to parse report if we are only interrested in hidraw. Also don't prepare data for debug stuff if no debugfs file are opened. Signed-off-by: Matthieu CASTET <matthieu.castet@parrot.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>