OSDN Git Service

HID: logitech-dj: Allow incoming packets during probe().
authorAndrew de los Reyes <adlr@chromium.org>
Mon, 18 Feb 2013 17:20:22 +0000 (09:20 -0800)
committerJiri Kosina <jkosina@suse.cz>
Fri, 1 Mar 2013 13:14:35 +0000 (14:14 +0100)
commita9dd22b73085734735cfa07398451b061626cc53
tree94e5eee4d893c442caac3aac511175e270eb6377
parentc849a6143bec520aff2a6646518b0d041402428b
HID: logitech-dj: Allow incoming packets during probe().

Historically, logitech-dj communicated with the device during probe()
to query the list of devices attached. Later, a change was introduced
to hid-core that prevented incoming packets for a device during
probe(), as many drivers are unable to handle such input. That change
broke the device enumeration in logitech-dj, so commit
596264082f10dd4a56 was introduced to workaround that by waiting for
normal input before enumerating devices.

Now that drivers can opt-in to receive input during probe, this patch
changes logitech-dj to do that, so that it can successfully complete
enumeration of devices during probe().

Signed-off-by: Andrew de los Reyes <adlr@chromium.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-logitech-dj.c