Re: [PATCH] usbhid: no flushing if device is already polled

2015-07-08 Thread Jiri Kosina
On Mon, 29 Jun 2015, Oliver Neukum wrote: > From: Oliver Neukum > > During open() it is unnecessary to wait for the device to flush > stale inputs if the device is polled while closed due to a quirk > or opening fails. Okay, super-micro-optimization, but why not. Applied to for-4.3/upstream, t

[PATCH] usbhid: no flushing if device is already polled

2015-06-29 Thread Oliver Neukum
From: Oliver Neukum During open() it is unnecessary to wait for the device to flush stale inputs if the device is polled while closed due to a quirk or opening fails. Signed-off-by: Oliver Neukum --- drivers/hid/usbhid/hid-core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --