diff mbox series

[2/5] usb: dwc3: select DM_USB_GADGET

Message ID 20240131-b4-qcom-usb-v1-2-6438b2a2285e@linaro.org
State Superseded
Headers show
Series Qualcomm DWC3 USB support | expand

Commit Message

Caleb Connolly Jan. 31, 2024, 2:57 p.m. UTC
DWC3 platforms depend on DM_USB_GADGET for gadget drivers to work,
otherwise compilation fails due to no implementation of
dm_usb_gadget_handle_interrupts().

Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
---
 drivers/usb/dwc3/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Mattijs Korpershoek Feb. 1, 2024, 1:25 p.m. UTC | #1
Hi Caleb,

Thank you for the patch.

On mer., janv. 31, 2024 at 14:57, Caleb Connolly <caleb.connolly@linaro.org> wrote:

> DWC3 platforms depend on DM_USB_GADGET for gadget drivers to work,
> otherwise compilation fails due to no implementation of
> dm_usb_gadget_handle_interrupts().
>
> Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>

Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>

> ---
>  drivers/usb/dwc3/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/usb/dwc3/Kconfig b/drivers/usb/dwc3/Kconfig
> index c0c8c16fd9c2..8a70bc682322 100644
> --- a/drivers/usb/dwc3/Kconfig
> +++ b/drivers/usb/dwc3/Kconfig
> @@ -11,6 +11,7 @@ config USB_DWC3_GADGET
>  	bool "USB Gadget support for DWC3"
>  	default y
>  	depends on USB_GADGET
> +	select DM_USB_GADGET
>  	select USB_GADGET_DUALSPEED
>  
>  comment "Platform Glue Driver Support"
>
> -- 
> 2.43.0
diff mbox series

Patch

diff --git a/drivers/usb/dwc3/Kconfig b/drivers/usb/dwc3/Kconfig
index c0c8c16fd9c2..8a70bc682322 100644
--- a/drivers/usb/dwc3/Kconfig
+++ b/drivers/usb/dwc3/Kconfig
@@ -11,6 +11,7 @@  config USB_DWC3_GADGET
 	bool "USB Gadget support for DWC3"
 	default y
 	depends on USB_GADGET
+	select DM_USB_GADGET
 	select USB_GADGET_DUALSPEED
 
 comment "Platform Glue Driver Support"