linux/drivers/usb
Heikki Krogerus 65ba8cef04 usb: typec: ucsi: Fix a deadlock in ucsi_send_command_common()
The function returns with the ppm_lock held if the PPM is
busy or there's an error.

Reported-and-tested-by: Luciano Coelho <luciano.coelho@intel.com>
Fixes: 5e9c1662a8 ("usb: typec: ucsi: rework command execution functions")
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reported-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/20240806112029.2984319-1-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-08-07 12:48:30 +02:00
..
atm usb: atm: cxacru: fix endpoint checking in cxacru_bind() 2024-06-20 19:34:51 +02:00
c67x00 USB: c67x00: Remove unused declaration c67x00_hcd_msg_received() 2023-10-02 16:42:33 +02:00
cdns3 pci-v6.11-changes 2024-07-19 19:03:18 -07:00
chipidea usb: chipidea: ci_hdrc_tegra: Switch to RUNTIME_PM_OPS() 2024-06-27 16:07:01 +02:00
class usb: add missing MODULE_DESCRIPTION() macros 2024-06-20 19:18:52 +02:00
common Driver core changes for 6.11-rc1 2024-07-25 10:42:22 -07:00
core Driver core changes for 6.11-rc1 2024-07-25 10:42:22 -07:00
dwc2 usb: dwc2: add support for other Lantiq SoCs 2024-07-10 13:56:32 +02:00
dwc3 USB/Thunderbolt updates for 6.11-rc1 2024-07-19 15:37:48 -07:00
early usb: early: xhci-dbc: Use memcpy_and_pad() 2023-01-31 10:40:54 +01:00
fotg210 usb: fotg210: Add missing kernel doc description 2024-05-11 08:42:03 +01:00
gadget usb: gadget: f_fs: pull out f->disable() from ffs_func_set_alt() 2024-08-07 12:40:59 +02:00
host USB/Thunderbolt updates for 6.11-rc1 2024-07-19 15:37:48 -07:00
image scsi: core: Add a dma_alignment field to the host and host template 2024-04-11 21:37:48 -04:00
isp1760 mm, slab: remove last vestiges of SLAB_MEM_SPREAD 2024-03-12 20:32:19 -07:00
misc of: remove internal arguments from of_property_for_each_u32() 2024-07-25 06:53:47 -05:00
mon usb: add missing MODULE_DESCRIPTION() macros 2024-06-20 19:18:52 +02:00
mtu3 tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
musb Merge 6.10-rc6 into usb-next 2024-07-01 13:59:29 +02:00
phy usb: phy: add missing MODULE_DESCRIPTION() macros 2024-06-20 19:18:32 +02:00
renesas_usbhs usb: renesas_usbhs: Remove renesas_usbhs_get_info() wrapper 2024-04-18 16:47:49 +02:00
roles Merge v6.8-rc6 into usb-next 2024-02-26 06:53:50 +01:00
serial USB-serial fix for 6.11-rc2 2024-08-07 12:36:50 +02:00
storage USB: uas: Implement the new shutdown callback 2024-07-10 13:58:24 +02:00
typec usb: typec: ucsi: Fix a deadlock in ucsi_send_command_common() 2024-08-07 12:48:30 +02:00
usbip usb: vhci-hcd: Do not drop references before new references are gained 2024-07-31 10:39:04 +02:00
Kconfig usb: pci-quirks: handle HAS_IOPORT dependency for AMD quirk 2023-10-02 16:19:12 +02:00
Makefile USB: xen-hcd: Traverse host/ when CONFIG_USB_XEN_HCD is selected 2024-06-04 15:33:38 +02:00
usb-skeleton.c