usb: factor out a usb_setup_descriptor() function
This factors out a usb_setup_descriptor() function with the goal to
make the code better comparable to the corresponding U-Boot code.
This also incorporates this U-Boot commit:
| commit
|
---|
|
drivers/usb/core/usb.c |
---|