Skip to content

Commit 6f660ff

Browse files
tiwaigregkh
authored andcommitted
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: 8b64592 ("usb: gadget: Add support for USB MIDI 2.0 function driver") Cc: stable <[email protected]> Signed-off-by: Takashi Iwai <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent dfc51e4 commit 6f660ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/usb/gadget/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,8 @@ config USB_F_MIDI
211211

212212
config USB_F_MIDI2
213213
tristate
214+
select SND_UMP
215+
select SND_UMP_LEGACY_RAWMIDI
214216

215217
config USB_F_HID
216218
tristate
@@ -445,8 +447,6 @@ config USB_CONFIGFS_F_MIDI2
445447
depends on USB_CONFIGFS
446448
depends on SND
447449
select USB_LIBCOMPOSITE
448-
select SND_UMP
449-
select SND_UMP_LEGACY_RAWMIDI
450450
select USB_F_MIDI2
451451
help
452452
The MIDI 2.0 function driver provides the generic emulated

0 commit comments

Comments
 (0)