public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 0/3] USB MIDI Gadget improvements and bug fixes
@ 2015-12-01 18:30 Felipe F. Tonello
  2015-12-01 18:31 ` [PATCH v6 1/3] usb: gadget: f_midi: set altsettings only for MIDIStreaming interface Felipe F. Tonello
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Felipe F. Tonello @ 2015-12-01 18:30 UTC (permalink / raw)
  To: linux-usb
  Cc: linux-kernel, Felipe Balbi, Clemens Ladisch, Greg Kroah-Hartman,
	Robert Baldyga

Fixed all comments suggested by the linux-usb list.

changes in v6:
 - Removed patches already applied in Balbi's tree
 - Cleanups on pre-allocation usb requrests patch
 - Fixed indentention on patch 1
 - Added patch which fails set_alt if a failure happened while
   allocating usb requests

changes in v5:
 - Use ep->enabled insetad of creating driver specific flag
 - Save MIDIStreaming interface id in driver data
 - define free_ep_req as static inline in header

changes in v4:
 - pre-alocation of in requests.
 - more code clean up
 - fix memory leak on out requests
 - configure endpoints only when setting up MIDIStreaming interface
	
Felipe F. Tonello (3):
  usb: gadget: f_midi: set altsettings only for MIDIStreaming interface
  usb: gadget: f_midi: fail if set_alt fails to allocate requests
  usb: gadget: f_midi: pre-allocate IN requests

 drivers/usb/gadget/function/f_midi.c | 175 +++++++++++++++++++++++++++--------
 drivers/usb/gadget/legacy/gmidi.c    |   2 +-
 2 files changed, 135 insertions(+), 42 deletions(-)

-- 
2.5.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-12-17 11:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-01 18:30 [PATCH v6 0/3] USB MIDI Gadget improvements and bug fixes Felipe F. Tonello
2015-12-01 18:31 ` [PATCH v6 1/3] usb: gadget: f_midi: set altsettings only for MIDIStreaming interface Felipe F. Tonello
2015-12-01 18:31 ` [PATCH v6 2/3] usb: gadget: f_midi: fail if set_alt fails to allocate requests Felipe F. Tonello
2015-12-01 18:31 ` [PATCH v6 3/3] usb: gadget: f_midi: pre-allocate IN requests Felipe F. Tonello
2015-12-08 12:54   ` Felipe Ferreri Tonello
2015-12-11 17:04 ` [PATCH v6 0/3] USB MIDI Gadget improvements and bug fixes Felipe Ferreri Tonello
2015-12-16 16:03   ` Felipe Balbi
2015-12-17 11:40     ` Felipe Ferreri Tonello

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox