Re: HID: picoLCD: optimize for inactive debugfs

2012-10-01 Thread Jiri Kosina
On Sun, 30 Sep 2012, Bruno Prémont wrote: > Matthieu CASTET adjusted picolcd_debug_out_report() to only operate when > there is an active listener on debugfs for events. > > His change got lost while splitting hid_picolcd.c, restore it. > > Signed-off-by: Bruno Prémont > --- > > > diff --git

HID: picoLCD: optimize for inactive debugfs

2012-09-30 Thread Bruno Prémont
Matthieu CASTET adjusted picolcd_debug_out_report() to only operate when there is an active listener on debugfs for events. His change got lost while splitting hid_picolcd.c, restore it. Signed-off-by: Bruno Prémont --- diff --git a/drivers/hid/hid-picolcd_debugfs.c b/drivers/hid/hid-picolcd_

[PATCH 4/6] HID: picoLCD: optimize for inactive debugfs

2012-08-19 Thread Bruno Prémont
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 th