Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

This reverts commit cb9c1cfc86926d0e86d19c8e34f6c23458cd3478 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: cb9c1cfc8692 ("usb: Kconfig: using select for USB_COMMON dependency")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Salvatore Bonaccorso <carnil@debian.org>
Link: https://lore.kernel.org/r/20210921143442.340087-1-carnil@debian.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Ben Hutchings and committed by
Greg Kroah-Hartman
4d1aa911 268bbde7

+1 -2
+1 -2
drivers/usb/common/Kconfig
··· 6 6 7 7 config USB_LED_TRIG 8 8 bool "USB LED Triggers" 9 - depends on LEDS_CLASS && LEDS_TRIGGERS 10 - select USB_COMMON 9 + depends on LEDS_CLASS && USB_COMMON && LEDS_TRIGGERS 11 10 help 12 11 This option adds LED triggers for USB host and/or gadget activity. 13 12