mbox series

[v2,0/2] usb: dwc3: gadget: Revise maxpacket_limit calculation

Message ID cover.1576030839.git.thinhn@synopsys.com (mailing list archive)
Headers show
Series usb: dwc3: gadget: Revise maxpacket_limit calculation | expand

Message

Thinh Nguyen Dec. 11, 2019, 2:25 a.m. UTC
This series revises how dwc3 calculate maxpacket_limit for IN and OUT
endpoints to follow the databook.

Changes in v2:
 - Add Fixes tag for macro name change


Thinh Nguyen (2):
  usb: dwc3: Fix GTXFIFOSIZ.TXFDEP macro name
  usb: dwc3: gadget: Properly set maxpacket limit

 drivers/usb/dwc3/core.h   |  8 +++++--
 drivers/usb/dwc3/gadget.c | 56 ++++++++++++++++++++++++++++++++++++-----------
 2 files changed, 49 insertions(+), 15 deletions(-)