[GIT PULL] USB driver fixes for 4.15-rc3

From: Greg KH
Date: Tue Dec 05 2017 - 10:45:01 EST


The following changes since commit 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323:

Linux 4.15-rc1 (2017-11-26 16:01:47 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 80e457699a8dbdd70f2d26911e46f538645c55fc:

usb: xhci: fix panic in xhci_free_virt_devices_depth_first (2017-12-01 15:24:59 +0000)

----------------------------------------------------------------
USB fixes for 4.15-rc3

Here are a few minor USB fixes for 4.15-rc3.

The largest here is the Kconfig text and configuration changes for the
USB TypeC build options that you reported during the -rc1 merge window.
The others are all just small fixes for reported issues, as well as some
new device ids.

The most "interesting" of anything here is the usbip fixes as it seems
lots of people are starting to pay attention to that driver at the
moment. These fixes should resolve all of the reported problems as of
now.

Of course there are the usual xhci and gadget fixes as well, can't go a
pull request without those...

All of these have been in linux-next for a while with no reported
issues.

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

----------------------------------------------------------------
Bart Van Assche (1):
usb: gadget: allow to enable legacy drivers without USB_ETH

Colin Ian King (2):
usb: gadget: don't dereference g until after it has been null checked
usb: host: fix incorrect updating of offset

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

Hans de Goede (1):
uas: Always apply US_FL_NO_ATA_1X quirk to Seagate devices

Heikki Krogerus (1):
usb: add user selectable option for the whole USB Type-C Support

Johan Hovold (1):
USB: ulpi: fix bus-node lookup

John Keeping (1):
usb: f_fs: Force Reserved1=1 in OS_DESC_EXT_COMPAT

Kai-Heng Feng (1):
usb: quirks: Add no-lpm quirk for KY-688 USB 3.1 Type-C Hub

Lu Baolu (1):
USB: serial: usb_debug: add new USB device id

Masakazu Mokuno (1):
USB: core: Add type-specific length check of BOS descriptors

Mathias Nyman (1):
xhci: Don't show incorrect WARN message about events for empty rings

Mike Looijmans (1):
usb: hub: Cycle HUB power when initialization fails

Oliver Neukum (1):
USB: usbfs: Filter flags passed in from user space

Randy Dunlap (1):
usb: build drivers/usb/common/ when USB_SUPPORT is set

Roger Quadros (1):
usb: gadget: core: Fix ->udc_set_speed() speed handling

Sebastian Sjoholm (1):
USB: serial: option: add Quectel BG96 id

Shuah Khan (1):
usbip: fix usbip attach to find a port that matches the requested speed

Vasyl Gomonovych (1):
usb: bdc: fix platform_no_drv_owner.cocci warnings

Vincent Pelletier (1):
usb: gadget: ffs: Forbid usb_ep_alloc_request from sleeping

Yoshihiro Shimoda (1):
usb: gadget: udc: renesas_usb3: fix number of the pipes

Yu Chen (1):
usb: xhci: fix panic in xhci_free_virt_devices_depth_first

Yuyang Du (1):
usbip: Fix USB device hang due to wrong enabling of scatter-gather

drivers/Makefile | 1 +
drivers/usb/common/ulpi.c | 4 +--
drivers/usb/core/config.c | 28 +++++++++++++++---
drivers/usb/core/devio.c | 14 +++++----
drivers/usb/core/hub.c | 9 ++++++
drivers/usb/core/quirks.c | 3 ++
drivers/usb/gadget/Kconfig | 4 +--
drivers/usb/gadget/composite.c | 7 +++--
drivers/usb/gadget/function/f_fs.c | 15 ++++++++--
drivers/usb/gadget/legacy/Kconfig | 10 +++++++
drivers/usb/gadget/udc/bdc/bdc_core.c | 1 -
drivers/usb/gadget/udc/core.c | 8 ++++--
drivers/usb/gadget/udc/renesas_usb3.c | 2 +-
drivers/usb/host/ehci-dbg.c | 2 +-
drivers/usb/host/xhci-mem.c | 7 +++++
drivers/usb/host/xhci-ring.c | 12 +++++---
drivers/usb/serial/option.c | 3 ++
drivers/usb/serial/usb_debug.c | 2 ++
drivers/usb/storage/uas-detect.h | 4 +++
drivers/usb/typec/Kconfig | 54 +++++++++++++++++++++++++++++------
drivers/usb/typec/ucsi/Kconfig | 1 -
drivers/usb/usbip/vhci_hcd.c | 1 -
include/uapi/linux/usb/ch9.h | 3 ++
tools/usb/usbip/libsrc/vhci_driver.c | 14 +++++++--
24 files changed, 169 insertions(+), 40 deletions(-)