]> www.infradead.org Git - users/jedix/linux-maple.git/commit
usb: gadget: midi2: Reverse-select at the right place
authorTakashi Iwai <tiwai@suse.de>
Wed, 1 Jan 2025 13:11:19 +0000 (14:11 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 7 Jan 2025 10:42:22 +0000 (11:42 +0100)
commit6f660ffce7c938f2a5d8473c0e0b45e4fb25ef7f
tree0f43672bfb2e989065048130807cb420e59d745a
parentdfc51e48bca475bbee984e90f33fdc537ce09699
usb: gadget: midi2: Reverse-select at the right place

We should do reverse selection of other components from
CONFIG_USB_F_MIDI2 which is tristate, instead of
CONFIG_USB_CONFIGFS_F_MIDI2 which is bool, for satisfying subtle
module dependencies.

Fixes: 8b645922b223 ("usb: gadget: Add support for USB MIDI 2.0 function driver")
Cc: stable <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20250101131124.27599-1-tiwai@suse.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/Kconfig