usb: musb: jz4740: Don't disable external hubs
authorPaul Cercueil <paul@crapouillou.net>
Wed, 26 Oct 2022 18:26:55 +0000 (19:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Nov 2022 11:39:13 +0000 (12:39 +0100)
The jz4740-musb driver does not really support OTG, so it has no reason
to disable external hubs, especially since it's a system-wide setting
and we don't want external hubs to be disabled for other USB host
controllers.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20221026182657.146630-6-paul@crapouillou.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/Kconfig

index f9eec66..290df4d 100644 (file)
@@ -107,7 +107,6 @@ config USB_MUSB_JZ4740
        depends on OF
        depends on MIPS || COMPILE_TEST
        depends on USB_MUSB_GADGET
-       depends on USB=n || USB_OTG_DISABLE_EXTERNAL_HUB
        select USB_ROLE_SWITCH
 
 config USB_MUSB_MEDIATEK