[GIT PULL] USB driver fixes for 4.12-rc2

From: Greg KH
Date: Sat May 20 2017 - 09:42:19 EST


The following changes since commit 2ea659a9ef488125eb46da6eb571de5eae5c43f6:

Linux 4.12-rc1 (2017-05-13 13:19:49 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.12-rc2

for you to fetch changes up to b51e0ceed1f93a1eda3cbee328a396a188ec79e3:

Merge tag 'usb-serial-4.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial into usb-linus (2017-05-19 10:10:07 +0200)

----------------------------------------------------------------
USB fixes for 4.12-rc2

Here are a number of small USB fixes for 4.12-rc2

Most of them come from Johan, in his valiant quest to fix up all drivers
that could be affected by "malicious" USB devices. There's also some
fixes for more "obscure" drivers to handle some of the vmalloc stack
fallout (which for USB drivers, was always the case, but very few people
actually ran those systems...)

Other than that, the normal set of xhci and gadget and musb driver fixes
as well.

All have been in linux-next with no reported issues.

Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

----------------------------------------------------------------
Alan Stern (2):
USB: ene_usb6250: fix DMA to the stack
USB: xhci: fix lock-inversion problem

Andrey Korolyov (1):
USB: serial: ftdi_sio: add Olimex ARM-USB-TINY(H) PIDs

Anthony Mallet (1):
USB: serial: ftdi_sio: fix setting latency for unprivileged users

Anton Bondarenko (1):
usb: core: fix potential memory leak in error path during hcd creation

Bjørn Mork (1):
USB: serial: qcserial: add more Lenovo EM74xx device IDs

Bogdan Mirea (1):
usb: gadget: gserial: check if console kthread exists

Chris Brandt (2):
usb: r8a66597-hcd: decrease timeout
usb: r8a66597-hcd: select a different endpoint on timeout

Daniele Palmas (1):
usb: serial: option: add Telit ME910 support

Greg Kroah-Hartman (2):
Merge tag 'fixes-for-v4.12-rc2' of git://git.kernel.org/.../balbi/usb into usb-linus
Merge tag 'usb-serial-4.12-rc2' of git://git.kernel.org/.../johan/usb-serial into usb-linus

Heikki Krogerus (1):
usb: dwc3: pci: add Intel Cannonlake PCI IDs

Jiri Slaby (1):
sisusb_con: fix coccinelle warning

Johan Hovold (14):
USB: serial: ir-usb: fix big-endian baud-rate debug printk
USB: serial: mct_u232: fix big-endian baud-rate handling
USB: serial: io_ti: fix div-by-zero in set_termios
uwb: fix device quirk on big-endian hosts
USB: chaoskey: fix Alea quirk on big-endian hosts
USB: iowarrior: fix info ioctl on big-endian hosts
USB: ehci-platform: fix companion-device leak
USB: core: of: document reference taken by companion helper
USB: gadget: dummy_hcd: fix hub-descriptor removable fields
USB: usbip: fix nonconforming hub descriptor
USB: hub: fix SS hub-descriptor handling
USB: hub: fix non-SS hub-descriptor handling
USB: hub: fix SS max number of ports
USB: host: xhci: use max-port define

Maksim Salau (1):
usb: misc: legousbtower: Fix memory leak

Markus Heiser (1):
doc-rst: fixed kernel-doc directives in usb/typec.rst

Mathias Nyman (3):
usb: xhci: trace URB before giving it back instead of after
xhci: apply PME_STUCK_QUIRK and MISSING_CAS quirk for Denverton
xhci: Fix command ring stop regression in 4.11

Matthias Lange (1):
xhci: remove GFP_DMA flag from allocation

Pan Bian (1):
usb: dwc3: keystone: check return value

Peter Chen (2):
usb: host: xhci-mem: allocate zeroed Scratchpad Buffer
usb: host: xhci-ring: don't need to clear interrupt pending for MSI enabled hcd

Peter Ujfalusi (1):
usb: musb: tusb6010_omap: Do not reset the other direction's packet size

Roger Quadros (1):
usb: dwc3: gadget: Fix ISO transfer performance

Thinh Nguyen (1):
usb: dwc3: gadget: Prevent losing events in event cache

Thomas Petazzoni (1):
usb: host: xhci-plat: propagate return value of platform_get_irq()

Tony Lindgren (1):
usb: musb: Fix trying to suspend while active for OTG configurations

Vamsi Krishna Samavedam (1):
USB: core: replace %p with %pK

William Wu (1):
usb: gadget: f_fs: avoid out of bounds access on comp_desc

Documentation/usb/typec.rst | 6 +--
drivers/usb/core/devio.c | 14 ++---
drivers/usb/core/hcd.c | 5 +-
drivers/usb/core/hub.c | 27 +++++++---
drivers/usb/core/of.c | 3 ++
drivers/usb/core/urb.c | 2 +-
drivers/usb/dwc3/dwc3-keystone.c | 4 ++
drivers/usb/dwc3/dwc3-pci.c | 4 ++
drivers/usb/dwc3/gadget.c | 21 +++++++-
drivers/usb/gadget/function/f_fs.c | 10 ++--
drivers/usb/gadget/function/u_serial.c | 2 +-
drivers/usb/gadget/udc/dummy_hcd.c | 6 +--
drivers/usb/host/ehci-platform.c | 4 +-
drivers/usb/host/r8a66597-hcd.c | 6 ++-
drivers/usb/host/xhci-hub.c | 2 +-
drivers/usb/host/xhci-mem.c | 11 ++--
drivers/usb/host/xhci-pci.c | 7 ++-
drivers/usb/host/xhci-plat.c | 2 +-
drivers/usb/host/xhci-ring.c | 20 ++++----
drivers/usb/host/xhci.c | 13 ++---
drivers/usb/misc/chaoskey.c | 2 +-
drivers/usb/misc/iowarrior.c | 2 +-
drivers/usb/misc/legousbtower.c | 1 +
drivers/usb/misc/sisusbvga/sisusb_con.c | 2 +-
drivers/usb/musb/musb_host.c | 9 ++--
drivers/usb/musb/tusb6010_omap.c | 13 +++--
drivers/usb/serial/ftdi_sio.c | 10 ++--
drivers/usb/serial/ftdi_sio_ids.h | 2 +
drivers/usb/serial/io_ti.c | 5 +-
drivers/usb/serial/ir-usb.c | 21 ++++----
drivers/usb/serial/mct_u232.c | 2 +-
drivers/usb/serial/option.c | 8 +++
drivers/usb/serial/qcserial.c | 2 +
drivers/usb/storage/ene_ub6250.c | 90 ++++++++++++++++++++-------------
drivers/usb/usbip/vhci_hcd.c | 11 ++--
drivers/uwb/i1480/dfu/usb.c | 5 +-
include/linux/usb/hcd.h | 1 +
include/uapi/linux/usb/ch11.h | 3 ++
38 files changed, 232 insertions(+), 126 deletions(-)