From: Sherry Sun <[email protected]>

Since the ci_udc driver has been converted to DM driver, the
CONFIG_DM_USB_GADGET should also be selected when CONFIG_CI_UDC
is enabled, then we can use DM ci_udc driver.

Signed-off-by: Sherry Sun <[email protected]>
Signed-off-by: Alice Guo <[email protected]>
Reviewed-by: Ye Li <[email protected]>
---
 drivers/usb/gadget/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index 7e08aeab904..f85bf3d66b2 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -151,8 +151,8 @@ config USB_GADGET_OS_DESCRIPTORS
 
 config CI_UDC
        bool "ChipIdea device controller"
-       depends on !DM_USB_GADGET
        select USB_GADGET_DUALSPEED
+       imply DM_USB_GADGET
        help
          Say Y here to enable device controller functionality of the
          ChipIdea driver.

-- 
2.43.0

Reply via email to