linux-stable/drivers/usb
Oliver Neukum b19ca9e1c0 usb: xhci: correct return value in case of STS_HCE
[ Upstream commit 5bfc311dd6 ]

If we get STS_HCE we give up on the interrupt, but for the purpose
of IRQ handling that still counts as ours. We may return IRQ_NONE
only if we are positive that it wasn't ours. Hence correct the default.

Fixes: 2a25e66d67 ("xhci: print warning when HCE was set")
Cc: stable@vger.kernel.org # v6.2+
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20240404121106.2842417-2-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-05-02 16:35:23 +02:00
..
atm usb: ueagle-atm: Use wait_event_freezable_timeout() in uea_wait() 2024-01-04 15:57:29 +01:00
c67x00 USB: c67x00: Remove unused declaration c67x00_hcd_msg_received() 2023-10-02 16:42:33 +02:00
cdns3 usb: cdns3: fix memory double free when handle zero packet 2024-02-19 09:30:41 +01:00
chipidea usb: chipidea: core: handle power lost in workqueue 2024-01-27 16:39:14 -08:00
class Revert "usb: cdc-wdm: close race between read and workqueue" 2024-04-27 17:13:00 +02:00
common usb: ulpi: Fix debugfs directory leak 2024-01-27 17:41:42 -08:00
core usb: Disable USB3 LPM at shutdown 2024-04-27 17:13:00 +02:00
dwc2 usb: dwc2: host: Fix dereference issue in DDMA completion flow. 2024-04-27 17:13:00 +02:00
dwc3 usb: dwc3: pci: Drop duplicate ID 2024-04-03 15:32:50 +02:00
early
fotg210 USB / Thunderbolt changes for 6.8-rc1 2024-01-18 11:43:55 -08:00
gadget usb: gadget: f_ncm: Fix UAF ncm object at re-bind after usb ep transport error 2024-04-27 17:13:00 +02:00
host usb: xhci: correct return value in case of STS_HCE 2024-05-02 16:35:23 +02:00
image
isp1760
misc usb: misc: onboard_usb_hub: Disable the USB hub clock on failure 2024-04-27 17:12:57 +02:00
mon usb: mon: Fix atomicity violation in mon_bin_vma_fault 2024-01-05 10:36:08 +01:00
mtu3 usb: mtu3: Convert to platform remove callback returning void 2023-10-21 12:49:08 +02:00
musb Merge 6.6-rc6 into usb-next 2023-10-16 17:36:12 +02:00
phy Revert "usb: phy: generic: Get the vbus supply" 2024-04-03 15:32:44 +02:00
renesas_usbhs
roles usb: roles: don't get/set_role() when usb_role_switch is unregistered 2024-02-19 09:30:41 +01:00
serial USB: serial: option: add Telit FN920C04 rmnet compositions 2024-04-27 17:13:00 +02:00
storage USB: UAS: return ENODEV when submit urbs fail with device not attached 2024-04-03 15:32:44 +02:00
typec usb: typec: tcpm: Correct the PDO counting in pd_set 2024-04-27 17:13:00 +02:00
usbip USB: core: Use device_driver directly in struct usb_driver and usb_device_driver 2024-01-04 16:06:32 +01:00
Kconfig usb: pci-quirks: handle HAS_IOPORT dependency for AMD quirk 2023-10-02 16:19:12 +02:00
Makefile
usb-skeleton.c