Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1256772
| From | Felipe Ferreri Tonello <eu@felipetonello.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v4 0/7] USB MIDI Gadget improvements and bug fixes |
| Date | 2015-10-27 15:20 +0100 |
| Message-ID | <qodgt-6dy-5@gated-at.bofh.it> (permalink) |
| References | <qnThM-2d0-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Balbi, On 26/10/15 16:55, Felipe F. Tonello wrote: > Patch 7 has changes on how to transmit IN USB requests. It implements a FIFO > of pre-allocated usb requests and uses then as needed, instead of allocating > then on demand. This is my initial implementation and is open for > suggestions and comments. > > Patches 1-6 is pretty much straight forward. > > 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 (7): > usb: gadget: f_midi: Transmit data only when IN ep is enabled > usb: gadget: f_midi: remove duplicated code > usb: gadget: define free_ep_req as universal function > usb: gadget: f_midi: fix leak on failed to enqueue out requests > usb: gadget: f_midi: set altsettings only for MIDIStreaming interface > usb: gadget: gmidi: Cleanup legacy code > usb: gadget: f_midi: pre-allocate IN requests > > drivers/usb/gadget/function/f_midi.c | 201 ++++++++++++++++++++--------- > drivers/usb/gadget/function/f_sourcesink.c | 6 - > drivers/usb/gadget/function/g_zero.h | 1 - > drivers/usb/gadget/legacy/gmidi.c | 12 +- > drivers/usb/gadget/u_f.c | 8 ++ > drivers/usb/gadget/u_f.h | 3 +- > 6 files changed, 151 insertions(+), 80 deletions(-) > I have rebased this patchset on top of your next branch. It removes the need for patch 1 and patch 5. I am waiting for more comments on other patches to fix things if needed before sending v5. -- Felipe -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v4 0/7] USB MIDI Gadget improvements and bug fixes "Felipe F. Tonello" <eu@felipetonello.com> - 2015-10-26 18:00 +0100
[PATCH v4 3/7] usb: gadget: define free_ep_req as universal function "Felipe F. Tonello" <eu@felipetonello.com> - 2015-10-26 18:00 +0100
Re: [PATCH v4 3/7] usb: gadget: define free_ep_req as universal function Robert Baldyga <r.baldyga@samsung.com> - 2015-10-27 08:00 +0100
Re: [PATCH v4 3/7] usb: gadget: define free_ep_req as universal function Felipe Ferreri Tonello <eu@felipetonello.com> - 2015-10-27 10:20 +0100
Re: [PATCH v4 3/7] usb: gadget: define free_ep_req as universal function Robert Baldyga <r.baldyga@samsung.com> - 2015-10-27 10:50 +0100
Re: [PATCH v4 3/7] usb: gadget: define free_ep_req as universal function Felipe Ferreri Tonello <eu@felipetonello.com> - 2015-10-27 14:00 +0100
[PATCH v4 6/7] usb: gadget: gmidi: Cleanup legacy code "Felipe F. Tonello" <eu@felipetonello.com> - 2015-10-26 18:00 +0100
[PATCH v4 5/7] usb: gadget: f_midi: set altsettings only for MIDIStreaming interface "Felipe F. Tonello" <eu@felipetonello.com> - 2015-10-26 18:00 +0100
Re: [PATCH v4 5/7] usb: gadget: f_midi: set altsettings only for MIDIStreaming interface Robert Baldyga <r.baldyga@hackerion.com> - 2015-10-26 23:40 +0100
Re: [PATCH v4 5/7] usb: gadget: f_midi: set altsettings only for MIDIStreaming interface Felipe Tonello <eu@felipetonello.com> - 2015-10-27 00:00 +0100
Re: [PATCH v4 5/7] usb: gadget: f_midi: set altsettings only for MIDIStreaming interface Robert Baldyga <r.baldyga@samsung.com> - 2015-10-27 07:50 +0100
Re: [PATCH v4 5/7] usb: gadget: f_midi: set altsettings only for MIDIStreaming interface Felipe Ferreri Tonello <eu@felipetonello.com> - 2015-10-27 10:20 +0100
Re: [PATCH v4 0/7] USB MIDI Gadget improvements and bug fixes Felipe Ferreri Tonello <eu@felipetonello.com> - 2015-10-27 15:20 +0100
csiph-web