« Previous | Next » 

Revision 07771f6f

ID07771f6fcebdb12de6dca537423f56299ed9b4b9

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 <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences