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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Felipe,

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

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

Best regards,
Robert Baldyga

Changelog:

v8:
- addressed comments from Sergei Shtylyov

v7: https://www.mail-archive.com/linux-kernel@xxxxxxxxxxxxxxx/msg949593.html
- 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            |  29 +++++
 drivers/usb/gadget/udc/net2280.c             |  28 +++++
 drivers/usb/gadget/udc/udc-core.c            |  90 +++++++++++++++
 drivers/usb/musb/musb_gadget.c               |  34 ++++++
 include/linux/usb/gadget.h                   |  19 ++-
 20 files changed, 203 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-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux