summaryrefslogtreecommitdiffstats
path: root/include/usb
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2020-03-03 11:32:47 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2020-03-26 07:21:15 +0100
commit6d1d95a386ed0fefe100ee7e8f000216002aa356 (patch)
tree55002a3d5874acd3f809aa01932fd19c67d50410 /include/usb
parentfb75becf283143795f775d7ce833f73b571f5a6e (diff)
downloadbarebox-6d1d95a386ed0fefe100ee7e8f000216002aa356.tar.gz
barebox-6d1d95a386ed0fefe100ee7e8f000216002aa356.tar.xz
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 2b338ef41127351089254b748de5cefd95c3e800 | Author: Hans de Goede <hdegoede@redhat.com> | Date: Tue May 5 23:56:04 2015 +0200 | | usb: Fix maxpacketsize for first descriptor read for low-speed usb devs | | This fixes descriptor reading of lowspeed devices through ohci not working. | | Signed-off-by: Hans de Goede <hdegoede@redhat.com> | Acked-by: Marek Vasut <marex@denx.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/usb')
0 files changed, 0 insertions, 0 deletions