From c9aa1a2de4cbf7d0db6012fbf86b6ee0c3719470 Mon Sep 17 00:00:00 2001 From: Mathias Nyman Date: Thu, 8 May 2014 19:26:01 +0300 Subject: [PATCH] xhci: Add a global command queue Create a list to store command structures, add a structure to it every time a command is submitted, and remove it from the list once we get a command completion event matching the command. Callers that wait for completion will free their command structures themselves. The other command structures are freed in the command completion event handler. Also add a check that prevents queuing commands if host is dying Signed-off-by: Mathias Nyman Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed