public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v7 0/8] usb: gadget: rework ep matching and claiming mechanism
@ 2015-08-06  7:58 Robert Baldyga
  2015-08-06  7:58 ` [PATCH v7 1/8] usb: gadget: epautoconf: rework ep_matches() function Robert Baldyga
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Robert Baldyga @ 2015-08-06  7:58 UTC (permalink / raw)
  To: balbi; +Cc: gregkh, linux-kernel, linux-usb, stern, Robert Baldyga

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


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

end of thread, other threads:[~2015-08-06 11:18 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-06  7:58 [PATCH v7 0/8] usb: gadget: rework ep matching and claiming mechanism Robert Baldyga
2015-08-06  7:58 ` [PATCH v7 1/8] usb: gadget: epautoconf: rework ep_matches() function Robert Baldyga
2015-08-06  7:58 ` [PATCH v7 2/8] usb: gadget: add 'ep_match' callback to usb_gadget_ops Robert Baldyga
2015-08-06  7:58 ` [PATCH v7 3/8] usb: gadget: move ep_matches() from epautoconf to udc-core Robert Baldyga
2015-08-06  7:58 ` [PATCH v7 4/8] usb: gadget: move find_ep() " Robert Baldyga
2015-08-06  7:58 ` [PATCH v7 5/8] usb: gadget: net2280: add net2280_match_ep() function Robert Baldyga
2015-08-06  7:58 ` [PATCH v7 6/8] usb: gadget: goku_udc: add goku_match_ep() function Robert Baldyga
2015-08-06 11:17   ` Sergei Shtylyov
2015-08-06  7:58 ` [PATCH v7 7/8] usb: musb: gadget: add musb_match_ep() function Robert Baldyga
2015-08-06 11:18   ` Sergei Shtylyov
2015-08-06  7:58 ` [PATCH v7 8/8] usb: gadget: remove gadget_chips.h Robert Baldyga

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