kernel-hacking-2024-linux-s.../drivers/usb/host
Sarah Sharp a50c8aa953 USB: xhci: Fix command wait list handling.
In the xHCI driver, configure endpoint commands that are submitted to the
hardware may involve one of two data structures.  If the configure
endpoint command is setting up a new configuration or modifying max packet
sizes, the data structures and completions are statically allocated in the
xhci_virt_device structure.  If the command is being used to set up
streams or add hub information, then the data structures are dynamically
allocated, and placed on a device command waiting list.

Break out the code to check whether a completed command is in the device
command waiting list.  Fix a subtle bug in the old code: continue
processing the command if the command isn't in the wait list.  In the old
code, if there was a command in the wait list, but it didn't match the
completed command, the completed command event would be dropped.

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-09-23 06:46:40 -07:00
..
whci USB: whci-hcd: make endpoint_reset method async 2009-09-23 06:46:21 -07:00
ehci-atmel.c USB: at91: Add USB EHCI driver for at91sam9g45 series 2009-09-23 06:46:30 -07:00
ehci-au1xxx.c USB: au1xxx: add dev_pm_ops 2009-09-23 06:46:29 -07:00
ehci-dbg.c USB: EHCI: split ehci_qh into hw and sw parts 2009-09-23 06:46:29 -07:00
ehci-fsl.c
ehci-fsl.h
ehci-hcd.c USB: ehci-dbgp,ehci: Allow early or late use of the dbgp device 2009-09-23 06:46:38 -07:00
ehci-hub.c USB: ehci-dbgp,ehci: Allow dbpg to work with suspend/resume 2009-09-23 06:46:39 -07:00
ehci-ixp4xx.c
ehci-mem.c USB: EHCI: split ehci_qh into hw and sw parts 2009-09-23 06:46:29 -07:00
ehci-orion.c
ehci-pci.c USB: ehci-dbgp,ehci: Allow early or late use of the dbgp device 2009-09-23 06:46:38 -07:00
ehci-ppc-of.c
ehci-ps3.c
ehci-q.c USB: EHCI: change deschedule logic for interrupt QHs 2009-09-23 06:46:37 -07:00
ehci-sched.c USB: EHCI: change deschedule logic for interrupt QHs 2009-09-23 06:46:37 -07:00
ehci-w90x900.c USB: Add nuvoton Ehci driver for w90p910 platform 2009-09-23 06:46:20 -07:00
ehci.h USB: EHCI: rescan the queue after an unlink 2009-09-23 06:46:37 -07:00
fhci-dbg.c
fhci-hcd.c
fhci-hub.c
fhci-mem.c
fhci-q.c
fhci-sched.c
fhci-tds.c
fhci.h
hwa-hc.c
isp116x-hcd.c
isp116x.h
isp1362-hcd.c USB: isp1362: Correct use of ! and & 2009-09-23 06:46:33 -07:00
isp1362.h USB: isp1362: fix pulldown register defines and conf logic 2009-09-23 06:46:33 -07:00
isp1760-hcd.c USB: isp1760: allow platform devices to customize devflags 2009-09-23 06:46:29 -07:00
isp1760-hcd.h USB: isp1760: allow platform devices to customize devflags 2009-09-23 06:46:29 -07:00
isp1760-if.c USB: isp1760: allow platform devices to customize devflags 2009-09-23 06:46:29 -07:00
Kconfig USB: NXP ISP1362 USB host driver 2009-09-23 06:46:30 -07:00
Makefile USB: NXP ISP1362 USB host driver 2009-09-23 06:46:30 -07:00
ohci-at91.c USB: at91: modify OHCI driver to allow shared interrupts 2009-09-23 06:46:31 -07:00
ohci-au1xxx.c USB: au1xxx: add dev_pm_ops 2009-09-23 06:46:29 -07:00
ohci-dbg.c
ohci-ep93xx.c USB: ohci-ep93xx.c: remove unused variable 2009-09-23 06:46:34 -07:00
ohci-hcd.c USB: EHCI: OHCI: Remove unnecessary includes of reboot.h 2009-09-23 06:46:32 -07:00
ohci-hub.c
ohci-lh7a404.c
ohci-mem.c
ohci-omap.c
ohci-pci.c
ohci-pnx4008.c
ohci-pnx8550.c
ohci-ppc-of.c
ohci-ppc-soc.c
ohci-ps3.c
ohci-pxa27x.c USB: ohci-pxa27x: Allow NOCP and OCPM to be cleared 2009-09-23 06:46:32 -07:00
ohci-q.c trivial: OHCI: Fix typo in a comment 2009-09-21 15:14:51 +02:00
ohci-s3c2410.c
ohci-sa1111.c
ohci-sh.c
ohci-sm501.c
ohci-ssb.c
ohci-tmio.c
ohci.h
oxu210hp-hcd.c USB: EHCI: OHCI: Remove unnecessary includes of reboot.h 2009-09-23 06:46:32 -07:00
oxu210hp.h
pci-quirks.c USB: Work around BIOS bugs by quiescing USB controllers earlier 2009-09-23 06:46:33 -07:00
pci-quirks.h
r8a66597-hcd.c
r8a66597.h
sl811-hcd.c USB: sl811-hcd: Fix device disconnect: 2009-09-23 06:46:16 -07:00
sl811.h
sl811_cs.c
u132-hcd.c
uhci-debug.c
uhci-hcd.c debugfs: Modified default dir of debugfs for debugging UHCI. 2009-09-15 09:50:49 -07:00
uhci-hcd.h
uhci-hub.c
uhci-q.c USB: uhci: rm repeatedly evaluation for urbp->qh 2009-09-23 06:46:30 -07:00
xhci-dbg.c USB: xhci: Fix slot and endpoint context debugging. 2009-09-23 06:46:17 -07:00
xhci-ext-caps.h
xhci-hcd.c USB: xhci: Change how xHCI commands are handled. 2009-09-23 06:46:39 -07:00
xhci-hub.c
xhci-mem.c USB: xhci: Change how xHCI commands are handled. 2009-09-23 06:46:39 -07:00
xhci-pci.c USB: xhci: Add quirk for Fresco Logic xHCI hardware. 2009-09-23 06:46:17 -07:00
xhci-ring.c USB: xhci: Fix command wait list handling. 2009-09-23 06:46:40 -07:00
xhci.h USB: xhci: Change how xHCI commands are handled. 2009-09-23 06:46:39 -07:00