Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1201528

[PATCH v7 0/8] usb: gadget: rework ep matching and claiming mechanism

From Robert Baldyga <r.baldyga@samsung.com>
Newsgroups linux.kernel
Subject [PATCH v7 0/8] usb: gadget: rework ep matching and claiming mechanism
Date 2015-08-06 10:00 +0200
Message-ID <pUofL-2xG-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

--
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 | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v7 0/8] usb: gadget: rework ep matching and claiming mechanism Robert Baldyga <r.baldyga@samsung.com> - 2015-08-06 10:00 +0200
  [PATCH v7 1/8] usb: gadget: epautoconf: rework ep_matches() function Robert Baldyga <r.baldyga@samsung.com> - 2015-08-06 10:00 +0200
  [PATCH v7 8/8] usb: gadget: remove gadget_chips.h Robert Baldyga <r.baldyga@samsung.com> - 2015-08-06 10:00 +0200
  [PATCH v7 5/8] usb: gadget: net2280: add net2280_match_ep() function Robert Baldyga <r.baldyga@samsung.com> - 2015-08-06 10:00 +0200
  [PATCH v7 3/8] usb: gadget: move ep_matches() from epautoconf to  udc-core Robert Baldyga <r.baldyga@samsung.com> - 2015-08-06 10:00 +0200
  [PATCH v7 7/8] usb: musb: gadget: add musb_match_ep() function Robert Baldyga <r.baldyga@samsung.com> - 2015-08-06 10:00 +0200
    Re: [PATCH v7 7/8] usb: musb: gadget: add musb_match_ep() function Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2015-08-06 13:20 +0200
  [PATCH v7 2/8] usb: gadget: add 'ep_match' callback to usb_gadget_ops Robert Baldyga <r.baldyga@samsung.com> - 2015-08-06 10:10 +0200
  [PATCH v7 6/8] usb: gadget: goku_udc: add goku_match_ep() function Robert Baldyga <r.baldyga@samsung.com> - 2015-08-06 10:10 +0200
    Re: [PATCH v7 6/8] usb: gadget: goku_udc: add goku_match_ep()  function Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2015-08-06 13:20 +0200
  [PATCH v7 4/8] usb: gadget: move find_ep() from epautoconf to udc-core Robert Baldyga <r.baldyga@samsung.com> - 2015-08-06 10:10 +0200

csiph-web