From: Matthieu CASTET Date: Thu, 28 Jun 2012 14:53:11 +0000 (+0200) Subject: HID: hid-core: optimize in case of hidraw X-Git-Tag: v3.6-rc1~119^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b94e3c94aae04a911d61f620f4ff5b575fc196ad;p=pandora-kernel.git 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 Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed