[GIT PULL] USB fixes for 5.16-rc5

From: Greg KH
Date: Sun Dec 12 2021 - 09:11:43 EST


The following changes since commit 0fcfb00b28c0b7884635dacf38e46d60bf3d4eb1:

Linux 5.16-rc4 (2021-12-05 14:08:22 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-5.16-rc5

for you to fetch changes up to ca5737396927afd4d57b133fd2874bbcf3421cdb:

usb: core: config: using bit mask instead of individual bits (2021-12-12 13:06:39 +0100)

----------------------------------------------------------------
USB fixes for 5.16-rc5

Here are some small USB fixes for 5.16-rc5. They include:
- gadget driver fixes for reported issues
- xhci fixes for reported problems.
- config endpoint parsing fixes for where we got bitfields wrong

Most of these have been in linux-next, the remaining few were not, but
got lots of local testing in my systems and in some cloud testing
infrastructures.

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

----------------------------------------------------------------
Douglas Anderson (1):
Revert "usb: dwc3: dwc3-qcom: Enable tx-fifo-resize property by default"

Greg Kroah-Hartman (2):
USB: gadget: detect too-big endpoint 0 requests
USB: gadget: zero allocate endpoint 0 buffers

Kai-Heng Feng (1):
xhci: Remove CONFIG_USB_DEFAULT_PERSIST to prevent xHCI from runtime suspending

Mathias Nyman (1):
xhci: avoid race between disable slot command and host runtime suspend

Pavel Hofman (2):
usb: core: config: fix validation of wMaxPacketValue entries
usb: core: config: using bit mask instead of individual bits

drivers/usb/core/config.c | 6 +++---
drivers/usb/dwc3/dwc3-qcom.c | 15 ---------------
drivers/usb/gadget/composite.c | 14 +++++++++++++-
drivers/usb/gadget/legacy/dbgp.c | 15 ++++++++++++++-
drivers/usb/gadget/legacy/inode.c | 16 +++++++++++++++-
drivers/usb/host/xhci-hub.c | 1 +
drivers/usb/host/xhci-ring.c | 1 -
drivers/usb/host/xhci.c | 26 +++++++++++++++-----------
8 files changed, 61 insertions(+), 33 deletions(-)