Skip to content

Commit

Permalink
usb: gadget: Add bcdDevice for the DWC3 USB Gadget Controller
Browse files Browse the repository at this point in the history
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 <jjhiblot@ti.com>
  • Loading branch information
Jean-Jacques Hiblot authored and Marek Vasut committed Aug 21, 2018
1 parent 1a35526 commit c73251e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/usb/gadget/gadget_chips.h
Expand Up @@ -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;
}

0 comments on commit c73251e

Please sign in to comment.