Skip to content
Commit b3c518a8 authored by Jean-Jacques Hiblot's avatar Jean-Jacques Hiblot Committed by Marek Vasut
Browse files

dm: usb: gadget: Fix boot breakage on sunxi platforms

Fixes commit 01311624

 ("dm: usb: create a new UCLASS ID for USB gadget
devices")

The UCLASS_DRIVER for id UCLASS_USB_GADGET_GENERIC needs to be declared
even for platforms that do not enable DM_USB_GADGET. Otherwise the driver
for their usb peripheral controller fails to bind.

Reported-by: default avatarPriit Laes <plaes@plaes.org>
Reported-by: default avatarJagan Teki <jagan@amarulasolutions.com>
Signed-off-by: default avatarJean-Jacques Hiblot <jjhiblot@ti.com>
Tested-by: default avatarPriit Laes <plaes@plaes.org>
Acked-by: default avatarJagan Teki <jagan@openedev.com>
parent db17a92d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment