« Previous | Next » 

Revision 07771f6f


Added by Gerd Hoffmann almost 10 years ago

usb: cancel async packets on unplug

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: Gerd Hoffmann <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences