HID: usbhid: no flushing if device is already polled
authorOliver Neukum <oneukum@suse.de>
Mon, 29 Jun 2015 09:10:41 +0000 (11:10 +0200)
committerJiri Kosina <jkosina@suse.com>
Wed, 8 Jul 2015 09:38:19 +0000 (11:38 +0200)
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 <oneukum@suse.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/usbhid/hid-core.c

Simple merge