[GIT PULL] USB driver fixes for 4.8-rc3

From: Greg KH
Date: Fri Aug 19 2016 - 11:19:49 EST


The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc:

Linux 4.8-rc1 (2016-08-07 18:18:00 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.8-rc3

for you to fetch changes up to f1f6d9a8b540df22b87a5bf6bc104edaade81f47:

xhci: don't dereference a xhci member after removing xhci (2016-08-16 09:42:47 +0200)

----------------------------------------------------------------
USB fixes for 4.8-rc3

Here are a number of USB fixes for reported issues for your tree.

The normal amount of gadget fixes, xhci fixes, new device ids, and a few
other minor things. All of them have been in linux-next for a while,
the full details are in the shortlog below.

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

----------------------------------------------------------------
Alan Stern (4):
USB: hub: fix up early-exit pathway in hub_activate
USB: hub: change the locking in hub_activate
USB: validate wMaxPacketValue entries in endpoint descriptors
USB: remove race condition in usbfs/libusb when using reap-after-disconnect

Alban Browaeys (1):
xhci: really enqueue zero length TRBs.

Alexey Klimov (1):
USB: serial: fix memleak in driver-registration error path

Binyamin Sharet (1):
usb: gadget: fix check in sync read from ep in gadgetfs

Christophe JAILLET (2):
usb: gadget: uvc: Fix return value in case of error
usb: gadget: composite: Fix return value in case of error

Dan Carpenter (1):
usb: gadget: fsl_qe_udc: off by one in setup_received_handle()

Daniele Palmas (1):
USB: serial: option: add support for Telit LE920A4

Felipe Balbi (4):
usb: dwc3: gadget: increment request->actual once
usb: dwc3: gadget: fix for short pkts during chained xfers
usb: dwc3: gadget: always cleanup all TRBs
usb: dwc3: gadget: stop processing on HWO set

Gavin Li (1):
cdc-acm: fix wrong pipe type on rx interrupt xfers

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

Heikki Krogerus (1):
usb: dwc3: pci: add Intel Kabylake PCI ID

Jaewon Kim (1):
usb: host: max3421-hcd: fix mask of IO control register

Janusz Dziedzic (1):
usb: dwc3: don't set last bit for ISOC endpoints

Jim Lin (1):
usb: xhci: Fix panic if disconnect

Jiri Slaby (1):
usb: devio, do not warn when allocation fails

Lu Baolu (1):
usb: misc: usbtest: add fix for driver hang

Lubomir Rintel (1):
USB: serial: option: add D-Link DWM-156/A3

Marc Ohlf (1):
usb: ehci: change order of register cleanup during shutdown

Mathias Nyman (2):
xhci: always handle "Command Ring Stopped" events
xhci: don't dereference a xhci member after removing xhci

Mathieu Laurendeau (1):
usb/gadget: fix gadgetfs aio support.

Peter Chen (5):
usb: misc: usbtest: usbtest_do_ioctl may return positive integer
usb: gadget: composite: fix dereference after null check coverify warning
usb: gadget: u_ether: fix dereference after null check coverify warning
usb: misc: usbtest: usbtest_do_ioctl may return positive integer
usb: udc: core: fix error handling

Robert Deliën (1):
USB: serial: ftdi_sio: add PIDs for Ivium Technologies devices

Sheng-Hui J. Chu (1):
USB: serial: ftdi_sio: add device ID for WICED USB UART dev board

Viresh Kumar (1):
usb: hub: Fix unbalanced reference count/memory leak/deadlocks

Wei Yongjun (2):
usb: phy: omap-otg: Fix missing platform_set_drvdata() in omap_otg_probe()
usb: dwc3: fix missing platform_set_drvdata() in dwc3_of_simple_probe()

Winter Wang (1):
usb: gadget: configfs: add mutex lock before unregister gadget

Xerox Lin (1):
usb: gadget: rndis: free response queue during REMOTE_NDIS_RESET_MSG

Xiao Han (1):
usb: misc: ftdi-elan: Fix off-by-one memory corruptions

Yoshihiro Shimoda (3):
usb: renesas_usbhs: Fix receiving data corrupt on R-Car Gen3 with dmac
usb: renesas_usbhs: clear the BRDYSTS in usbhsg_ep_enable()
usb: renesas_usbhs: Use dmac only if the pipe type is bulk

drivers/usb/class/cdc-acm.c | 5 +--
drivers/usb/class/cdc-acm.h | 1 -
drivers/usb/core/config.c | 66 ++++++++++++++++++++++++++++--
drivers/usb/core/devio.c | 7 +++-
drivers/usb/core/hub.c | 23 ++++-------
drivers/usb/dwc3/dwc3-of-simple.c | 1 +
drivers/usb/dwc3/dwc3-pci.c | 2 +
drivers/usb/dwc3/gadget.c | 55 +++++++++++++++----------
drivers/usb/gadget/composite.c | 6 ++-
drivers/usb/gadget/configfs.c | 2 +
drivers/usb/gadget/function/rndis.c | 6 +++
drivers/usb/gadget/function/u_ether.c | 3 +-
drivers/usb/gadget/function/uvc_configfs.c | 2 +-
drivers/usb/gadget/legacy/inode.c | 4 +-
drivers/usb/gadget/udc/core.c | 5 ++-
drivers/usb/gadget/udc/fsl_qe_udc.c | 2 +-
drivers/usb/host/ehci-hcd.c | 4 +-
drivers/usb/host/max3421-hcd.c | 2 +-
drivers/usb/host/xhci-hub.c | 3 ++
drivers/usb/host/xhci-pci.c | 3 +-
drivers/usb/host/xhci-ring.c | 16 ++++----
drivers/usb/misc/ftdi-elan.c | 10 ++---
drivers/usb/misc/usbtest.c | 9 ++--
drivers/usb/phy/phy-omap-otg.c | 2 +
drivers/usb/renesas_usbhs/common.c | 3 +-
drivers/usb/renesas_usbhs/fifo.c | 4 +-
drivers/usb/renesas_usbhs/mod_gadget.c | 7 +++-
drivers/usb/serial/ftdi_sio.c | 3 ++
drivers/usb/serial/ftdi_sio_ids.h | 12 ++++++
drivers/usb/serial/option.c | 22 ++++++++++
drivers/usb/serial/usb-serial.c | 4 +-
31 files changed, 215 insertions(+), 79 deletions(-)