Re: [PATCH] usb: cdns3: attempt to fix Kconfig dependencies

Arnd Bergmann
2026-04-02T15:22:18Z

On Thu, Apr 2, 2026, at 16:09, Arnd Bergmann wrote:
>
> My patch has seen some fairly light build testing at this point and
> is clearly an improvement over what is in linux-next, but there is
> still a risk that I missed some other corner cases.

This is one change I missed:

diff --git a/drivers/usb/cdns3/Kconfig b/drivers/usb/cdns3/Kconfig
index 07ed694e10b8..ea87ac22f7cf 100644
--- a/drivers/usb/cdns3/Kconfig
+++ b/drivers/usb/cdns3/Kconfig
@@ -118,7 +118,7 @@ config USB_CDNSP
if USB_CDNSP

config USB_CDNSP_GADGET
- bool "Cadence USBSSP device controller"
+ tristate "Cadence USBSSP device controller"
depends on USB_GADGET=y || USB_GADGET=USB_CDNSP
help
Say Y here to enable device controller functionality of the

I'll wait for other comments or build failures before resending
the updated patch.

Arnd