From: Jean-Jacques Hiblot Date: Thu, 9 Aug 2018 14:17:40 +0000 (+0200) Subject: usb: gadget: Add bcdDevice for the DWC3 USB Gadget Controller X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c73251eac199a54643ead1febde2db0b02970cc6;p=project%2Fbcm63xx%2Fu-boot.git usb: gadget: Add bcdDevice for the DWC3 USB Gadget Controller Add an entry in usb_gadget_controller_number() for the DWC3 gadget controller. Without it, it is not possible to bind the USB Ethernet driver. Signed-off-by: Jean-Jacques Hiblot --- diff --git a/drivers/usb/gadget/gadget_chips.h b/drivers/usb/gadget/gadget_chips.h index b9b081999a..2c8f235d51 100644 --- a/drivers/usb/gadget/gadget_chips.h +++ b/drivers/usb/gadget/gadget_chips.h @@ -206,5 +206,7 @@ static inline int usb_gadget_controller_number(struct usb_gadget *gadget) return 0x21; else if (gadget_is_fotg210(gadget)) return 0x22; + else if (gadget_is_dwc3(gadget)) + return 0x23; return -ENOENT; }