[GIT PULL] USB driver fixes for 6.9-rc2

From: Greg KH
Date: Sat Mar 30 2024 - 08:26:04 EST


The following changes since commit 4cece764965020c22cff7665b18a012006359095:

Linux 6.9-rc1 (2024-03-24 14:10:05 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-6.9-rc2

for you to fetch changes up to f4d1960764d8a70318b02f15203a1be2b2554ca1:

USB: core: Fix deadlock in port "disable" sysfs attribute (2024-03-26 15:02:28 +0100)

----------------------------------------------------------------
USB Fixes for 6.9-rc2

Here are a bunch of small USB fixes for reported problems and
regressions for 6.9-rc2. Included in here are:
- deadlock fixes for long-suffering issues
- USB phy driver revert for reported problem
- typec fixes for reported problems
- duplicate id in dwc3 dropped
- dwc2 driver fixes
- udc driver warning fix
- cdc-wdm race bugfix
- other tiny USB bugfixes

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

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

----------------------------------------------------------------
Alan Stern (3):
USB: core: Fix deadlock in usb_deauthorize_interface()
USB: core: Add hub_get() and hub_put() routines
USB: core: Fix deadlock in port "disable" sysfs attribute

Alexander Stein (1):
Revert "usb: phy: generic: Get the vbus supply"

Christian A. Ehrhardt (5):
usb: typec: ucsi: Clear EVENT_PENDING under PPM lock
usb: typec: ucsi: Check for notifications after init
usb: typec: ucsi: Ack unsupported commands
usb: typec: ucsi_acpi: Refactor and fix DELL quirk
usb: typec: ucsi: Clear UCSI_CCI_RESET_COMPLETE before reset

Heikki Krogerus (1):
usb: dwc3: pci: Drop duplicate ID

Jameson Thies (1):
usb: typec: ucsi: Check capabilities before cable and identity discovery

Krishna Kurapati (1):
usb: typec: ucsi: Fix race between typec_switch and role_switch

Kyle Tso (3):
usb: typec: tcpm: Correct port source pdo array in pd_set callback
usb: typec: tcpm: Update PD of Type-C port upon pd_set
usb: typec: Return size of buffer if pd_set operation succeeds

Minas Harutyunyan (5):
usb: dwc2: host: Fix hibernation flow
usb: dwc2: host: Fix remote wakeup from hibernation
usb: dwc2: host: Fix ISOC flow in DDMA mode
usb: dwc2: gadget: Fix exiting from clock gating
usb: dwc2: gadget: LPM flow fix

Oliver Neukum (1):
usb: cdc-wdm: close race between read and workqueue

Thinh Nguyen (1):
usb: dwc3: Properly set system wakeup

Weitao Wang (1):
USB: UAS: return ENODEV when submit urbs fail with device not attached

Xu Yang (1):
usb: typec: tcpm: fix double-free issue in tcpm_port_unregister_pd()

Yongzhi Liu (1):
usb: misc: ljca: Fix double free in error handling path

yuan linyu (1):
usb: udc: remove warning when queue disabled ep

drivers/usb/class/cdc-wdm.c | 6 ++-
drivers/usb/core/hub.c | 23 +++++++---
drivers/usb/core/hub.h | 2 +
drivers/usb/core/port.c | 38 ++++++++++++++--
drivers/usb/core/sysfs.c | 16 +++++--
drivers/usb/dwc2/core.h | 14 ++++++
drivers/usb/dwc2/core_intr.c | 72 +++++++++++++++++++----------
drivers/usb/dwc2/gadget.c | 10 +++++
drivers/usb/dwc2/hcd.c | 49 ++++++++++++++++----
drivers/usb/dwc2/hcd_ddma.c | 17 ++++---
drivers/usb/dwc2/hw.h | 2 +-
drivers/usb/dwc2/platform.c | 2 +-
drivers/usb/dwc3/core.c | 2 +
drivers/usb/dwc3/core.h | 2 +
drivers/usb/dwc3/dwc3-pci.c | 2 -
drivers/usb/dwc3/gadget.c | 10 +++++
drivers/usb/dwc3/host.c | 11 +++++
drivers/usb/gadget/udc/core.c | 4 +-
drivers/usb/misc/usb-ljca.c | 22 ++++-----
drivers/usb/phy/phy-generic.c | 7 ---
drivers/usb/storage/uas.c | 28 ++++++------
drivers/usb/typec/class.c | 7 ++-
drivers/usb/typec/tcpm/tcpm.c | 6 +--
drivers/usb/typec/ucsi/ucsi.c | 90 +++++++++++++++++++++++++++++--------
drivers/usb/typec/ucsi/ucsi.h | 5 ++-
drivers/usb/typec/ucsi/ucsi_acpi.c | 71 +++++++++++++----------------
drivers/usb/typec/ucsi/ucsi_glink.c | 14 ++++++
27 files changed, 374 insertions(+), 158 deletions(-)