[PATCH v3 0/2] Work-around for DWC_USB3_NUM_EPS = DWC_USB3_NUM_IN_EPS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.7.4

--
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



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux