
15 Dec
2018
15 Dec
'18
5:43 p.m.
The USB gadget commands take the USB port index as a parameter. This is not playing well with the current DM support for gadget when USB0 is dedicated to host and USB1 dedicated to gadget. This problem has been reported by Sam Protsenko semen.protsenko@linaro.org
This patch fixes this by using the aliases provided by the DT to get the port index right.
Tested on: - dra76 evm - am572 evm
Jean-Jacques Hiblot (2): dm: usb: udc: Use SEQ_ALIAS to index the USB gadget ports ARM: dts: define USB aliases for all omap5 platforms
arch/arm/dts/omap5-u-boot.dtsi | 5 +++++ drivers/usb/gadget/udc/udc-uclass.c | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-)
--
2.7.4