summaryrefslogtreecommitdiff
path: root/doc/develop/bootstd/script.rst
diff options
context:
space:
mode:
authorMattijs Korpershoek <[email protected]>2026-07-03 15:29:36 +0200
committerMattijs Korpershoek <[email protected]>2026-07-22 08:54:16 +0200
commit6f9c431a20627db34e0c41ea865c611f0d2c2016 (patch)
tree88935a545a81cc6202c1b7624df4249bd94d60d9 /doc/develop/bootstd/script.rst
parent3caa8f42e1f657177780be5a445502cbb9181e43 (diff)
usb: gadget: dwc2: Use usb_ep_set_maxpacket_limit() for fifo sizes
More recent versions of usb_ep_autoconfig() use the maxpacket_limit field from struct usb_ep. This field has been introduced in the linux kernel via commit e117e742d310 ("usb: gadget: add "maxpacket_limit" field to struct usb_ep") And has been ported to U-Boot via commit 747a0a5b387f ("usb: dwc3: gadget: make dwc3 gadget build in uboot") However, the dwc2 gadget driver was not converted to use usb_ep_set_maxpacket_limit(). This is harmless for now, but the driver will break once usb_ep_autoconfig() is updated to a more recent version. Set maxpacket_limit via the recommended helper function to prepare for a core gadget update. Acked-by: Ilias Apalodimas <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mattijs Korpershoek <[email protected]>
Diffstat (limited to 'doc/develop/bootstd/script.rst')
0 files changed, 0 insertions, 0 deletions