Skip to content

Commit

Permalink
USB: gadget: midi: add midi function driver
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
  • Loading branch information
zonque authored and Felipe Balbi committed Oct 13, 2011
1 parent 56526c0 commit d5daf49
Showing 1 changed file with 923 additions and 0 deletions.
Loading

0 comments on commit d5daf49

Please sign in to comment.