lkml.org 
[lkml]   [2015]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v7 0/8] usb: gadget: rework ep matching and claiming mechanism
Date
Hi Felipe,

These are remaining patches of my series plus one which remained from
series [1].

In this version of this patch set I have changed gadget_find_ep_by_name()
to exported symbol, as Alan suggested.

[1] usb: gadget: get rid of UDC name-based quirks
https://lkml.org/lkml/2015/7/28/29

Best regards,
Robert Baldyga

Changelog:

v7:
- make gadget_find_ep_by_name() exported symbol instead of static inline
as Alan Stern suggested

v6: https://lkml.org/lkml/2015/8/5/312
- fix regression in ep_matches() function

v5: https://lkml.org/lkml/2015/7/31/402
- made code more grepable according to Felipe's suggestion

v4: https://lkml.org/lkml/2015/7/27/181
- addressed comments from Krzysztof Opasiak and Felipe Balbi

v3: https://lkml.org/lkml/2015/7/15/68
- addressed comments from Sergei Shtylyov

v2: https://lkml.org/lkml/2015/7/14/172
- remove PXA quirk from ep_matches() function without behaviour change
using ep capabilities flags
- separate ep and desc configuration code from ep_match() function
- add 'ep_match' to usb_gadget_ops and move chip-specific endpoint
matching algorithms from generic code to UDC controller drivers

v1: https://lkml.org/lkml/2015/7/8/436

Robert Baldyga (8):
usb: gadget: epautoconf: rework ep_matches() function
usb: gadget: add 'ep_match' callback to usb_gadget_ops
usb: gadget: move ep_matches() from epautoconf to udc-core
usb: gadget: move find_ep() from epautoconf to udc-core
usb: gadget: net2280: add net2280_match_ep() function
usb: gadget: goku_udc: add goku_match_ep() function
usb: musb: gadget: add musb_match_ep() function
usb: gadget: remove gadget_chips.h

drivers/usb/gadget/epautoconf.c | 166 +--------------------------
drivers/usb/gadget/function/f_acm.c | 1 -
drivers/usb/gadget/function/f_mass_storage.c | 1 -
drivers/usb/gadget/function/f_obex.c | 1 -
drivers/usb/gadget/function/f_serial.c | 1 -
drivers/usb/gadget/function/f_sourcesink.c | 1 -
drivers/usb/gadget/function/u_ether.h | 2 -
drivers/usb/gadget/function/u_uac1.h | 2 -
drivers/usb/gadget/legacy/audio.c | 1 -
drivers/usb/gadget/legacy/gmidi.c | 2 -
drivers/usb/gadget/legacy/hid.c | 1 -
drivers/usb/gadget/legacy/nokia.c | 1 -
drivers/usb/gadget/legacy/printer.c | 2 -
drivers/usb/gadget/legacy/serial.c | 1 -
drivers/usb/gadget/udc/gadget_chips.h | 55 ---------
drivers/usb/gadget/udc/goku_udc.c | 25 ++++
drivers/usb/gadget/udc/net2280.c | 31 +++++
drivers/usb/gadget/udc/udc-core.c | 90 +++++++++++++++
drivers/usb/musb/musb_gadget.c | 34 ++++++
include/linux/usb/gadget.h | 19 ++-
20 files changed, 202 insertions(+), 235 deletions(-)
delete mode 100644 drivers/usb/gadget/udc/gadget_chips.h

--
1.9.1



\
 
 \ /
  Last update: 2015-08-06 10:21    [W:2.368 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site