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(+) -- 1.8.4.rc3 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html