diff options
author | Andrzej Pietrasiewicz <andrzej.p@samsung.com> | 2014-10-16 15:33:31 +0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-11-05 22:37:17 +0300 |
commit | 6f1de344557315a8e5de0d15a28276198ca7fdac (patch) | |
tree | f3dd990db3f31af7d14b61cca36be9429993da2c /drivers/usb/gadget/Kconfig | |
parent | 9caa0d77f7ce6ca0ec6bb81e28a93db1b6287b0f (diff) | |
download | linux-6f1de344557315a8e5de0d15a28276198ca7fdac.tar.xz |
usb: gadget: f_midi: add configfs support
Make the midi function available for gadgets composed with configfs.
Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/Kconfig')
-rw-r--r-- | drivers/usb/gadget/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index b51307805151..501c2a38d071 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig @@ -396,6 +396,20 @@ config USB_CONFIGFS_F_UAC2 received from the USB Host and choose to provide whatever it wants as audio data to the USB Host. +config USB_CONFIGFS_F_MIDI + boolean "MIDI function" + depends on USB_CONFIGFS + depends on SND + select USB_LIBCOMPOSITE + select SND_RAWMIDI + select USB_F_MIDI + help + The MIDI Function acts as a USB Audio device, with one MIDI + input and one MIDI output. These MIDI jacks appear as + a sound "card" in the ALSA sound system. Other MIDI + connections can then be made on the gadget system, using + ALSA's aconnect utility etc. + source "drivers/usb/gadget/legacy/Kconfig" endchoice |