On 31/01/17 20:58, Bryan O'Donoghue wrote:
This is V3 of the previous patchset. This version implements the suggested
change from Felipe to rationalise num_in_eps and num_out_eps down to
num_eps directly. The old mapping of OUT/IN endpoint pairs is maintained to
ensure that fixed-mapped endpoints - as is possible on some FPGA
configurations, will continue to be accommodated while at the same time we
cover the case where DWC3_USB3_NUM_EPS == DWC3_USB3_NUM_IN_EPS.
V2 -> V3:
Rationalise num_in_eps and num_out_eps to num_eps - Felipe
Remove unnecessary function dwc3_gadget_init_hw_endpoints - Bryan
V1 -> V2:
Removed quirk code - Felipe
Reworded commit log - Felipe
Removed DT bindings no long necessary
Bryan O'Donoghue (2):
usb: dwc3: refactor gadget endpoint count calculation
usb: dwc3: remove dwc3_gadget_init_hw_endpoints
drivers/usb/dwc3/core.c | 3 +--
drivers/usb/dwc3/core.h | 6 ++----
drivers/usb/dwc3/debugfs.c | 15 ++-------------
drivers/usb/dwc3/gadget.c | 47 ++++++++++++++--------------------------------
4 files changed, 19 insertions(+), 52 deletions(-)
+john.youn@xxxxxxxxxxxx
Sorry for messing up your email address (again) John - I'm terminally
bad at spelling Synopsys
--
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