[GIT PULL] USB fixes for 5.9-rc3

From: Greg KH
Date: Wed Aug 26 2020 - 09:43:58 EST


The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5:

Linux 5.9-rc1 (2020-08-16 13:04:57 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 23e26d0577535f5ffe4ff8ed6d06e009553c0bca:

usb: typec: tcpm: Fix Fix source hard reset response for TDA 2.3.1.1 and TDA 2.3.1.2 failures (2020-08-25 16:02:35 +0200)

----------------------------------------------------------------
USB fixes for 5.9-rc3

Here are a small set of USB fixes for 5.9-rc3.

Like most set of USB bugfixes, they include the usual:
- usb gadget driver fixes
- xhci driver fixes
- typec fixes
- new qurks and ids
- fixes for USB patches merged in 5.9-rc1

Nothing huge, all of these have been in linux-next with no reported
issues:

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

----------------------------------------------------------------
Alan Stern (1):
USB: yurex: Fix bad gfp argument

Andy Shevchenko (1):
usb: hcd: Fix use after free in usb_hcd_pci_remove()

Badhri Jagan Sridharan (1):
usb: typec: tcpm: Fix Fix source hard reset response for TDA 2.3.1.1 and TDA 2.3.1.2 failures

Bastien Nocera (2):
USB: Also match device drivers using the ->match vfunc
USB: Fix device driver race

Brooke Basile (2):
USB: gadget: u_f: add overflow checks to VLA macros
USB: gadget: f_ncm: add bounds checks to ncm_unwrap_ntb()

Christophe JAILLET (1):
usb: gadget: f_tcm: Fix some resource leaks in some error paths

Ding Hui (1):
xhci: Always restore EP_SOFT_CLEAR_TOGGLE even if ep reset failed

Evgeny Novikov (1):
USB: lvtest: return proper error code in probe

Greg Kroah-Hartman (1):
Merge tag 'fixes-for-v5.9-rc2' of git://git.kernel.org/.../balbi/usb into usb-linus

Hans de Goede (4):
usb: typec: ucsi: Fix AB BA lock inversion
usb: typec: ucsi: Fix 2 unlocked ucsi_run_command calls
usb: typec: ucsi: Rework ppm_lock handling
usb: typec: ucsi: Hold con->lock for the entire duration of ucsi_register_port()

Heikki Krogerus (1):
tools: usb: move to tools buildsystem

JC Kuo (2):
usb: host: xhci-tegra: otg usb2/usb3 port init
usb: host: xhci-tegra: fix tegra_xusb_get_phy()

Kai-Heng Feng (2):
USB: quirks: Add no-lpm quirk for another Raydium touchscreen
xhci: Do warm-reset when both CAS and XDEV_RESUME are set

Li Jun (1):
usb: host: xhci: fix ep context print mismatch in debugfs

M. Vefa Bicakci (1):
usbip: Implement a match function to fix usbip

Thinh Nguyen (4):
usb: dwc3: gadget: Don't setup more than requested
usb: dwc3: gadget: Fix handling ZLP
usb: dwc3: gadget: Handle ZLP for sg requests
usb: uas: Add quirk for PNY Pro Elite

Tom Rix (1):
USB: cdc-acm: rework notification_buffer resizing

Vinod Koul (1):
usb: renesas-xhci: remove version check

周琰杰 (Zhou Yanjie) (1):
USB: PHY: JZ4770: Fix static checker warning.

drivers/usb/class/cdc-acm.c | 22 ++++---
drivers/usb/core/driver.c | 40 ++++++++++++-
drivers/usb/core/generic.c | 5 +-
drivers/usb/core/hcd-pci.c | 5 +-
drivers/usb/core/quirks.c | 2 +
drivers/usb/dwc3/gadget.c | 107 +++++++++++++++++++++++++++++------
drivers/usb/gadget/function/f_ncm.c | 81 ++++++++++++++++++++++----
drivers/usb/gadget/function/f_tcm.c | 7 ++-
drivers/usb/gadget/u_f.h | 38 +++++++++----
drivers/usb/host/xhci-debugfs.c | 8 +--
drivers/usb/host/xhci-hub.c | 19 ++++---
drivers/usb/host/xhci-pci-renesas.c | 19 +------
drivers/usb/host/xhci-tegra.c | 4 +-
drivers/usb/host/xhci.c | 3 +-
drivers/usb/misc/lvstest.c | 2 +-
drivers/usb/misc/yurex.c | 2 +-
drivers/usb/phy/phy-jz4770.c | 1 +
drivers/usb/storage/unusual_uas.h | 7 +++
drivers/usb/typec/tcpm/tcpm.c | 28 ++++++++-
drivers/usb/typec/ucsi/displayport.c | 9 +--
drivers/usb/typec/ucsi/ucsi.c | 103 +++++++++++++++++----------------
drivers/usb/usbip/stub_dev.c | 6 ++
tools/usb/Build | 2 +
tools/usb/Makefile | 53 ++++++++++++++---
24 files changed, 408 insertions(+), 165 deletions(-)
create mode 100644 tools/usb/Build