mirror of
https://github.com/Dasharo/linux.git
synced 2026-03-06 15:25:10 -08:00
USB: gadget: midi: add midi function driver
This patch adds f_midi.c to implement a USB gadget function that works with the composite framework, so it can be combined with other USB functions. The code for the ALSA/MIDI logic was taken from the midi device gadget, other parts have been rewritten to benefit from the dynamic descriptor allocation features. This was successfully tested on an OMAP3 board. Signed-off-by: Daniel Mack <zonque@gmail.com> Cc: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
committed by
Felipe Balbi
parent
56526c0b8d
commit
d5daf49b58
923
drivers/usb/gadget/f_midi.c
Normal file
923
drivers/usb/gadget/f_midi.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user