diff options
author | Daniel Mack <zonque@gmail.com> | 2011-09-28 16:41:34 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-10-13 20:39:52 +0300 |
commit | c8933c3f79568263c90a46f06cf80419e6c63c97 (patch) | |
tree | f2e47dc624e9f5aa5e8e6a5b9907dc157dd0e7bb /drivers/usb/gadget/file_storage.c | |
parent | 2672eea5a38b35e6d28f851e990e110e217271eb (diff) | |
download | blackbird-op-linux-c8933c3f79568263c90a46f06cf80419e6c63c97.tar.gz blackbird-op-linux-c8933c3f79568263c90a46f06cf80419e6c63c97.zip |
USB: gadget: f_midi: allow a dynamic number of input and output ports
The code in the MIDI gadget was already sort of prepared for multi-port
configuration, so the streaming logic itself didn't need much tweaking.
However, the descriptors change when the number of ports do, and so some
rework of the the preparation algorithms were necessary.
Successfully tested on Linux and Max OS X hosts for both input and
output streams.
Signed-off-by: Daniel Mack <zonque@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/file_storage.c')
0 files changed, 0 insertions, 0 deletions