« Previous | Next » 

Revision 1b4b29a1

ID1b4b29a11483a050855838014413c91e9c1f8c19

Added by Gerd Hoffmann about 12 years ago

usb: add shortcut for control transfers

Add a more direct code path to submit control transfers. Instead of
feeding three usb packets (setup, data, ack) to usb_handle_packet and
have the do_token_* functions in usb.c poke the control transfer
parameters out of it just submit a single packet carrying the actual
data with the control xfer parameters filled into USBPacket->parameters.

Signed-off-by: Gerd Hoffmann <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences