Skip to content
Snippets Groups Projects
Commit 75c1aa7e authored by Ben Hutchings's avatar Ben Hutchings Committed by Greg Kroah-Hartman
Browse files

Partially revert "usb: Kconfig: using select for USB_COMMON dependency"


commit 4d1aa911 upstream.

This reverts commit cb9c1cfc for
USB_LED_TRIG.  This config symbol has bool type and enables extra code
in usb_common itself, not a separate driver.  Enabling it should not
force usb_common to be built-in!

Fixes: cb9c1cfc ("usb: Kconfig: using select for USB_COMMON dependency")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
Signed-off-by: default avatarSalvatore Bonaccorso <carnil@debian.org>
Link: https://lore.kernel.org/r/20210921143442.340087-1-carnil@debian.org


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e34184f5
No related branches found
No related tags found
No related merge requests found
...@@ -175,8 +175,7 @@ source "drivers/usb/roles/Kconfig" ...@@ -175,8 +175,7 @@ source "drivers/usb/roles/Kconfig"
config USB_LED_TRIG config USB_LED_TRIG
bool "USB LED Triggers" bool "USB LED Triggers"
depends on LEDS_CLASS && LEDS_TRIGGERS depends on LEDS_CLASS && USB_COMMON && LEDS_TRIGGERS
select USB_COMMON
help help
This option adds LED triggers for USB host and/or gadget activity. This option adds LED triggers for USB host and/or gadget activity.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment