[GIT PULL] USB driver fixes for 5.7-rc6

From: Greg KH
Date: Sun May 17 2020 - 05:40:59 EST


The following changes since commit 2ef96a5bb12be62ef75b5828c0aab838ebb29cb8:

Linux 5.7-rc5 (2020-05-10 15:16:58 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-5.7-rc6

for you to fetch changes up to 15753588bcd4bbffae1cca33c8ced5722477fe1f:

USB: gadget: fix illegal array access in binding with UDC (2020-05-15 15:42:17 +0200)

----------------------------------------------------------------
USB fixes for 5.7-rc6

Here are a number of USB fixes for 5.7-rc6

The "largest" in here is a bunch of raw-gadget fixes and api changes as
the driver just showed up in -rc1 and work has been done to fix up some
uapi issues found with the original submission, before it shows up in a
-final release.

Other than that, a bunch of other small USB gadget fixes, xhci fixes,
some quirks, andother tiny fixes for reported issues.

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

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

----------------------------------------------------------------
Andrey Konovalov (6):
usb: raw-gadget: fix return value of ep read ioctls
usb: raw-gadget: improve uapi headers comments
usb: raw-gadget: fix gadget endpoint selection
usb: raw-gadget: support stalling/halting/wedging endpoints
usb: raw-gadget: documentation updates
usb: raw-gadget: fix null-ptr-deref when reenabling endpoints

Andy Shevchenko (1):
usb: dwc3: pci: Enable extcon driver for Intel Merrifield

Arnd Bergmann (1):
usb: dwc3: select USB_ROLE_SWITCH

Christophe JAILLET (3):
usb: gadget: audio: Fix a missing error return value in audio_bind()
usb: phy: twl6030-usb: Fix a resource leak in an error handling path in 'twl6030_usb_probe()'
usb: gadget: net2272: Fix a memory leak in an error handling path in 'net2272_plat_probe()'

Eugeniu Rosca (1):
usb: core: hub: limit HUB_QUIRK_DISABLE_AUTOSUSPEND to USB5534B

Greg Kroah-Hartman (3):
Merge tag 'fixes-for-v5.7-rc5' of git://git.kernel.org/.../balbi/usb into usb-linus
USB: usbfs: fix mmap dma mismatch
Merge tag 'fixes-for-v5.7-rc6' of git://git.kernel.org/.../balbi/usb into usb-linus

Jason Yan (1):
usb: cdns3: gadget: make a bunch of functions static

John Stultz (1):
dwc3: Remove check for HWO flag in dwc3_gadget_ep_reclaim_trb_sg()

Kyungtae Kim (1):
USB: gadget: fix illegal array access in binding with UDC

Li Jun (1):
usb: host: xhci-plat: keep runtime active when removing host

Masahiro Yamada (1):
usb: gadget: legacy: fix redundant initialization warnings

Peter Chen (1):
usb: cdns3: gadget: prev_req->trb is NULL for ep0

Prashant Malani (1):
usb: typec: mux: intel: Fix DP_HPD_LVL bit field

Rikard Falkeborn (1):
usb: mtu3: constify struct debugfs_reg32

Samuel Zou (1):
usb: gadget: udc: atmel: Make some symbols static

Sriharsha Allenki (1):
usb: xhci: Fix NULL pointer dereference when enqueuing trbs from urb sg list

Thierry Reding (1):
usb: gadget: tegra-xudc: Fix idle suspend/resume

Wei Yongjun (2):
usb: gadget: legacy: fix error return code in cdc_bind()
usb: gadget: legacy: fix error return code in gncm_bind()

Documentation/usb/raw-gadget.rst | 37 +++-
drivers/usb/cdns3/gadget.c | 22 +--
drivers/usb/core/devio.c | 16 +-
drivers/usb/core/hub.c | 6 +-
drivers/usb/dwc3/Kconfig | 1 +
drivers/usb/dwc3/dwc3-pci.c | 1 +
drivers/usb/dwc3/gadget.c | 3 -
drivers/usb/gadget/configfs.c | 3 +
drivers/usb/gadget/legacy/audio.c | 4 +-
drivers/usb/gadget/legacy/cdc2.c | 4 +-
drivers/usb/gadget/legacy/inode.c | 3 +-
drivers/usb/gadget/legacy/ncm.c | 4 +-
drivers/usb/gadget/legacy/raw_gadget.c | 315 +++++++++++++++++++++++++-------
drivers/usb/gadget/udc/atmel_usba_udc.c | 4 +-
drivers/usb/gadget/udc/net2272.c | 2 +
drivers/usb/gadget/udc/tegra-xudc.c | 8 +-
drivers/usb/host/xhci-plat.c | 4 +-
drivers/usb/host/xhci-ring.c | 4 +-
drivers/usb/mtu3/mtu3_debugfs.c | 4 +-
drivers/usb/phy/phy-twl6030-usb.c | 12 +-
drivers/usb/typec/mux/intel_pmc_mux.c | 6 +-
include/uapi/linux/usb/raw_gadget.h | 108 +++++++++--
22 files changed, 448 insertions(+), 123 deletions(-)