Skip to contentSkip to conversation

USB patches for v4.1 merge window

GIT PULL Felipe Balbi 2 participants 3 messages Mar 24, 2015

lore
Share & tools
lore
#0 lore raw

Hi Greg,

Because of ELC, I have to cut short on patch queueing this time. In any case, we have some pretty good content for v4.1.

Patches have been tested with platforms I have around (heh, took me a while to do that remotely) and most have been in next for several days.

Let me know if you want anything to be changed.

cheers

ps: I was hoping you'd be at ELC, but aparently I was wrong :-)

The following changes since commit 9eccca0843205f87c00404b663188b88eb248051:

Linux 4.0-rc3 (2015-03-08 16:09:09 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git tags/usb-for-v4.1

for you to fetch changes up to 3e457371f436e89ce9239674828f9729a36b2595:

usb: musb: Fix fifo reads for dm816x with musb_dsps (2015-03-24 11:36:38 -0500)

----------------------------------------------------------------
usb: patches for v4.1 merge window

As usual, a big pile of commits. This time a total of 111 non-merge commits.

Other than the usual set of cleanups and non-critical fixes, we have some interesting work for AM335x's MUSB babble recovery. Now that takes a lot less time and we don't have to Reset MUSB all the time.

The printer gadget has been converted to configfs interface and the atmel udc has learned suspend/resume with wakeup.

----------------------------------------------------------------
Andrzej Pietrasiewicz (31):
usb: gadget: composite: don't try standard handling for non-standard requests
usb: gadget: printer: enqueue printer's response for setup request
usb: gadget: printer: remove unused and empty printer_unbind
usb: gadget: printer: eliminate random pointer dereference
usb: gadget: printer: revert usb_add_function() effect in error recovery
usb: gadget: printer: add missing error handling
usb: gadget: printer: eliminate pdev member of struct printer_dev
usb: gadget: printer: follow the naming convention for usb_add_config callback
usb: gadget: printer: standardize printer_do_config
usb: gadget: printer: move function-related bind code to function's bind
usb: gadget: printer: call usb_add_function() last
usb: gadget: printer: move function-related unbind code to function's unbind
usb: gadget: printer: define pnp string buffer length
usb: gadget: printer: don't access file global pnp_string in function's code
usb: gadget: printer: add setup and cleanup functions
usb: gadget: printer: call gprinter_setup() from gadget's bind
usb: gadget: printer: eliminate file global printer_mutex
usb: gadget: printer: don't access file global usb_printer_gadget in function's code
usb: gadget: printer: add container_of helper for printer_dev
usb: gadget: composite: add req_match method to usb_function
usb: gadget: printer: name class specific requests
usb: gadget: printer: add req_match for printer function
usb: gadget: printer: allocate printer_dev instances dynamically
usb: gadget: printer: factor out f_printer
usb: gadget: f_printer: convert to new function interface with backward compatibility
usb: gadget: printer: convert to new interface of f_printer
usb: gadget: f_printer: remove compatibility layer
usb: gadget: printer: use module_usb_composite_driver helper macro
usb: gadget: printer: add configfs support
usb: gadget: f_printer: use non-zero flag for bitwise and
usb: gadget: f_printer: fix dependencies

Axel Lin (1):
usb: phy: Find the right match in devm_usb_phy_match

Ben Dooks (1):
usb: gadget: atmel_usba: use endian agnostic IO on ARM

Dan Carpenter (2):
usb: gadget: printer: delete some dead code
usb: gadget: printer: use after free in gprinter_alloc_inst()

Fabian Frederick (1):
usb: gadget: constify of_device_id array

Fabio Estevam (1):
usb: phy: phy-generic: No need to call gpiod_direction_output() twice

Felipe Balbi (36):
usb: musb: gadget: get rid of stop_activity()
usb: musb: core: fix TX/RX endpoint order
usb: musb: core: improve musb_interrupt() a bit
usb: dwc3: core: only reset res->start in case of error
usb: dwc3: omap: call of_platform_depopulate() instead
usb: dwc3: gadget: drop unnecessary loop when cleaning up TRBs
usb: musb: core: remove unnecessary logical comparison
usb: musb: core: add missing curly braces
usb: musb: core: fix highspeed check
usb: musb: dsps: return error code if reset fails
usb: musb: core: move babble recovery inside babble check
usb: musb: core: break long line
usb: musb: core: remove unnecessary reg access from resume IRQ
usb: musb: core: there is no connect interrupt in peripheral mode
usb: musb: dsps: remove babble check from dsps irq handler
usb: musb: dsps: check for the single bit
usb: musb: core: controller drops session automatically
usb: musb: dsps: add dsps_ prefix to sw_babble_control
usb: musb: core: refactor IRQ enable/disable to separate functions
usb: musb: don't touch devctl from babble recovery
usb: musb: core: decrease delayed_work time
usb: musb: dsps: do not reset musb on babble
usb: musb: core: simplify musb_recover_work()
usb: musb: rename ->reset() to ->recover()
usb: musb: core: drop recover_work
usb: musb: core: remove unnecessary forward declaration
usb: musb: core: disable irqs inside babble recovery
usb: musb: core: always try to recover from babble
usb: gadget: net2280: silence sparse warning
usb: musb: cppi41: decrease indentation level
usb: musb: cppi41: exit early when tx fifo is empty
usb: musb: cppi41: do not call udelay()
usb: musb: dsps: use msecs_to_jiffies instead
usb: musb: dsps: just start polling already
usb: musb: dsps: request phy using our device pointer
usb: musb: dsps: don't fake of_node to musb core

Ivan T. Ivanov (1):
usb: phy: Fix USB_ULPI_VIEWPORT Kconfig dependency

Joe Perches (2):
usb: gadget: udc: pxa27x_udc: Remove use of seq_printf return value
usb: gadget: goku_udc: Remove uses of seq_<foo> return values

John Youn (3):
usb: dwc2: pci: Add device mode to the dwc2-pci driver
usb: dwc2: pci: Select the generic PHY for dwc2-pci driver
usb: dwc2: pci: Correctly compile dwc2-pci as a module or built-in

Joseph Kogut (1):
usb: move definition of PCI_VENDOR_ID_SYNOPSYS to linux/pci_ids.h

Marek Szyprowski (1):
usb: dwc2: rework initialization of host and gadget in dual-role mode

Masanari Iida (1):
usb: gadget: Fix typo fond in Documentation/Docbook/gadget.xml

Mian Yousaf Kaukab (4):
usb: gadget: net2280: use ep_autoconfig compatible names in advance mode
usb: gadget: net2280: remove fiforegs as it is unused
usb: gadget: net2280: print error in ep_ops error paths
usb: gadget: net2280: don't connect from udc_start

Mickael Maison (2):
usb: phy: ab8500: fixed comment typo
usb: phy: fixed comment typo

Peter Chen (5):
usb: gadget: lpc32xxx_udc: Fix NULL dereference
usb: udc: store usb_udc pointer in struct usb_gadget
usb: udc: add usb_udc_vbus_handler
usb: chipidea: udc: apply new usb_udc_vbus_handler interface
usb: common: otg-fsm: only signal connect after switching to peripheral

Rasmus Villemoes (1):
usb: gadget: dummy-hcd: Remove utf8 from format string

Robert Baldyga (2):
usb: dwc3: make LPM configurable in DT
usb: gadget: f_hid: remove unnecessary usb_ep_dequeue()

Scott Wood (1):
usb: gadget: serial: %pf is only for function pointers

Stephen Boyd (1):
usb: phy: msm: Remove dead code

Sudeep Holla (1):
usb: isp1760: add peripheral/device controller chip id

Sylvain Rochet (4):
usb: gadget: atmel_usba_udc: Fixed vbus_prev initial state
usb: gadget: atmel_usba_udc: Request an auto disabled Vbus signal IRQ
usb: gadget: atmel_usba_udc: condition clocks to vbus state
usb: gadget: atmel_usba_udc: Add suspend/resume with wakeup support

Takeyoshi Kikuchi (1):
usb: musb: cppi41: fix condition to call cppi41_trans_done().

Tal Shorer (1):
usb: gadget: f_mass_storage: use defined constant instead of numeric value

Tony Lindgren (1):
usb: musb: Fix fifo reads for dm816x with musb_dsps

Vincent Palatin (1):
usb: dwc2: avoid leaking DMA channels on disconnection

Yoshihiro Shimoda (4):
usb: renesas_usbhs: add the channel number in dma-names
usb: renesas_usbhs: fix the sequence in xfer_work()
usb: renesas_usbhs: add support for USB-DMAC
usb: renesas_usbhs: fix spinlock suspected in a gadget complete function

 .../ABI/testing/configfs-usb-gadget-printer        |    9 +
 Documentation/devicetree/bindings/usb/dwc3.txt     |    1 +
 .../devicetree/bindings/usb/renesas_usbhs.txt      |    5 +-
 Documentation/usb/gadget-testing.txt               |   47 +
 drivers/usb/chipidea/udc.c                         |   10 +-
 drivers/usb/common/usb-otg-fsm.c                   |    4 +-
 drivers/usb/dwc2/Kconfig                           |    8 +-
 drivers/usb/dwc2/Makefile                          |    6 +-
 drivers/usb/dwc2/core.h                            |    2 +
 drivers/usb/dwc2/hcd.c                             |    8 +
 drivers/usb/dwc2/pci.c                             |  160 +--
 drivers/usb/dwc2/platform.c                        |   29 +-
 drivers/usb/dwc3/Kconfig                           |    7 -
 drivers/usb/dwc3/core.c                            |   59 +-
 drivers/usb/dwc3/core.h                            |    2 +
 drivers/usb/dwc3/dwc3-omap.c                       |   11 +-
 drivers/usb/dwc3/dwc3-pci.c                        |    2 -
 drivers/usb/dwc3/gadget.c                          |   37 +-
 drivers/usb/dwc3/host.c                            |    4 +-
 drivers/usb/dwc3/platform_data.h                   |    1 +
 drivers/usb/gadget/Kconfig                         |   17 +
 drivers/usb/gadget/composite.c                     |   17 +-
 drivers/usb/gadget/function/Makefile               |    2 +
 drivers/usb/gadget/function/f_hid.c                |    1 -
 drivers/usb/gadget/function/f_mass_storage.c       |    2 +-
 drivers/usb/gadget/function/f_printer.c            | 1471 ++++++++++++++++++++
 drivers/usb/gadget/function/u_printer.h            |   37 +
 drivers/usb/gadget/function/u_serial.c             |    2 +-
 drivers/usb/gadget/legacy/Kconfig                  |    1 +
 drivers/usb/gadget/legacy/printer.c                | 1239 +----------------
 drivers/usb/gadget/udc/atmel_usba_udc.c            |  212 ++-
 drivers/usb/gadget/udc/atmel_usba_udc.h            |   26 +-
 drivers/usb/gadget/udc/dummy_hcd.c                 |    2 +-
 drivers/usb/gadget/udc/goku_udc.c                  |  233 ++--
 drivers/usb/gadget/udc/lpc32xx_udc.c               |   15 +-
 drivers/usb/gadget/udc/net2280.c                   |  182 ++-
 drivers/usb/gadget/udc/net2280.h                   |    2 -
 drivers/usb/gadget/udc/pxa27x_udc.c                |  134 +-
 drivers/usb/gadget/udc/udc-core.c                  |   68 +-
 drivers/usb/isp1760/isp1760-udc.c                  |    2 +-
 drivers/usb/musb/musb_core.c                       |  214 +--
 drivers/usb/musb/musb_core.h                       |   14 +-
 drivers/usb/musb/musb_cppi41.c                     |   84 +-
 drivers/usb/musb/musb_dsps.c                       |  105 +-
 drivers/usb/musb/musb_gadget.c                     |   40 +-
 drivers/usb/phy/Kconfig                            |    4 +-
 drivers/usb/phy/of.c                               |    2 +-
 drivers/usb/phy/phy-ab8500-usb.c                   |    2 +-
 drivers/usb/phy/phy-generic.c                      |   12 +-
 drivers/usb/phy/phy-msm-usb.c                      |   18 +-
 drivers/usb/phy/phy.c                              |    4 +-
 drivers/usb/renesas_usbhs/common.c                 |   19 +
 drivers/usb/renesas_usbhs/common.h                 |    7 +
 drivers/usb/renesas_usbhs/fifo.c                   |  189 ++-
 drivers/usb/renesas_usbhs/fifo.h                   |    1 +
 drivers/usb/renesas_usbhs/mod_gadget.c             |   22 +-
 drivers/usb/renesas_usbhs/pipe.c                   |   39 +
 drivers/usb/renesas_usbhs/pipe.h                   |    1 +
 include/linux/pci_ids.h                            |    2 +
 include/linux/usb/composite.h                      |    3 +
 include/linux/usb/gadget.h                         |    9 +-
 include/linux/usb/msm_hsusb.h                      |    4 -
 include/linux/usb/renesas_usbhs.h                  |    2 +
 63 files changed, 2854 insertions(+), 2020 deletions(-)
 create mode 100644 Documentation/ABI/testing/configfs-usb-gadget-printer
 create mode 100644 drivers/usb/gadget/function/f_printer.c
 create mode 100644 drivers/usb/gadget/function/u_printer.h
#1 lore raw
Quoted 5 lines · Felipe Balbi

Hi Greg,

Because of ELC, I have to cut short on patch queueing this time. In any case, we have some pretty good content for v4.1.

Quoted 8 lines

Patches have been tested with platforms I have around (heh, took me a while to do that remotely) and most have been in next for several days.

Let me know if you want anything to be changed.

cheers

ps: I was hoping you'd be at ELC, but aparently I was wrong :-)

I'm in France for 2 months, couldn't make it, it's the first I've missed in years :(

Quoted 7 lines

The following changes since commit 9eccca0843205f87c00404b663188b88eb248051:

Linux 4.0-rc3 (2015-03-08 16:09:09 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git tags/usb-for-v4.1

Pulled and pushed out, thanks.

greg k-h

#2 lore raw
Quoted 11 lines · Greg KH
Quoted 10 lines · Felipe Balbi

Hi Greg,

Because of ELC, I have to cut short on patch queueing this time. In any case, we have some pretty good content for v4.1.

Patches have been tested with platforms I have around (heh, took me a while to do that remotely) and most have been in next for several days.

Let me know if you want anything to be changed.

Quoted 7 lines
Quoted 3 lines

cheers

ps: I was hoping you'd be at ELC, but aparently I was wrong :-)

I'm in France for 2 months, couldn't make it, it's the first I've missed in years :(

Have fun, there will be other conferences :-)

Quoted 9 lines
Quoted 7 lines

The following changes since commit 9eccca0843205f87c00404b663188b88eb248051:

Linux 4.0-rc3 (2015-03-08 16:09:09 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git tags/usb-for-v4.1

Pulled and pushed out, thanks.

tks

Signature · 1 line
balbi