• Andrew de los Reyes's avatar
    HID: logitech-dj: Allow incoming packets during probe(). · a9dd22b7
    Andrew de los Reyes authored
    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
    59626408 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: default avatarAndrew de los Reyes <adlr@chromium.org>
    Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
    a9dd22b7
hid-logitech-dj.c 29.7 KB