• G
    usb: cancel async packets on unplug · 07771f6f
    Gerd Hoffmann 提交于
    This patch adds USBBusOps struct with (for now) only a single callback
    which is called when a device is about to be destroyed.  The USB Host
    adapters are implementing this callback and use it to cancel any async
    requests which might be in flight before the device actually goes away.
    Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
    07771f6f
usb-bus.c 10.1 KB