commit | 63583c64558853f0fe7f8166907417792d184e18 | [log] [tgz] |
---|---|---|
author | Bruno Prémont <bonbons@linux-vserver.org> | Sun Aug 19 19:33:02 2012 +0200 |
committer | Jiri Kosina <jkosina@suse.cz> | Wed Sep 05 11:48:07 2012 +0200 |
tree | f77dee08c6f833a64016ec993fe85222e0fd27ee | |
parent | ae08e324146c89f1059e9d3c3898d0260a988795 [diff] |
HID: picoLCD: optimize for inactive debugfs Matthieu CASTET adjusted picolcd_debug_out_report() to only operate when there is an active listener on debugfs for events. Do the same on the more important picolcd_debug_raw_event() that is called in interrupt context as opposed to picolcd_debug_out_report() which happens in whichever context that sends reports to device. Signed-off-by: Bruno Prémont <bonbons@linux-vserver.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>