Skip to content

patchset to workaround f_fs for DWC3

David Cohen lkml 1 version NAK

Status from this message: NAK, we want to get rid of all of them, in fact. gadget drivers

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesNAK

Patches in v1

#Subject and filesSizeRepliesApplied
1/2usb: gadget: re-introduce gadget_is_dwc3()drivers/usb/gadget/gadget_chips.h+1 -01 reply
2/2usb: ffs/dwc3: pad epout buffer size when not aligned to maxpacketsizedrivers/usb/gadget/f_fs.c+19 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC/PATCH 0/2] patchset to workaround f_fs for DWC3

Hi,

These patches are a proposal to workaround f_fs when using DWC3 controller. Since DWC3 requires epout buffer size to be aligned to maxpacketsize, f_fs needs to pad buffer size to match the above case.

This change is necessary to make Android's adbd service to work with f_fs instead of out-of-tree android gadget. If this same situation is happening in other still untested places, a more generic solution may be required.

---
David Cohen (2):
usb: gadget: re-introduce gadget_is_dwc3()
usb: ffs/dwc3: pad epout buffer size when not aligned to maxpacketsize

 drivers/usb/gadget/f_fs.c         | 19 +++++++++++++++++++
 drivers/usb/gadget/gadget_chips.h |  1 +
 2 files changed, 20 insertions(+)
Signature · 1 line
1.8.4.rc3