From: Henrik Rydberg Date: Sat, 1 Sep 2012 19:47:11 +0000 (+0200) Subject: HID: Only dump input if someone is listening X-Git-Tag: v3.6-rc5~3^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bfc8da00b1e74f55a52cc06a0d364f1f7f61ed8;p=pandora-kernel.git HID: Only dump input if someone is listening Going through the motions of printing the debug message information takes a long time; using the keyboard can lead to a 160 us irqsoff latency. This patch skips hid_dump_input() when there are no open handles, which brings latency down to 100 us. Signed-off-by: Henrik Rydberg Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed