summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2020-10-27 10:34:59 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2020-10-27 10:42:13 +0100
commit8ac84eedb283788584b90f07a1026377fa6a24fa (patch)
tree0c6760bdbd4cb77643b2d9dbb8481b35fdee57d2 /arch
parent3ef10c4e7e719c8c4096a745578136be725134cd (diff)
downloadbarebox-8ac84eedb283788584b90f07a1026377fa6a24fa.tar.gz
barebox-8ac84eedb283788584b90f07a1026377fa6a24fa.tar.xz
usb: Fix initial max packet size
In case the USB device is a full speed device we have to set dev->epmaxpacketin[0] and dev->epmaxpacketout[0] before doing a get_descriptor_len() because otherwise it's unset during that call. Fixes: 6d1d95a386 ("usb: factor out a usb_setup_descriptor() function") Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions