From: Sarah Sharp Date: Wed, 9 Dec 2009 23:58:58 +0000 (-0800) Subject: USB: xhci: Fix error path when configuring endpoints. X-Git-Tag: v2.6.34-rc1~215^2~198 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c01591bd6ece72e1c099cbc25ed812e1add579dc;p=pandora-kernel.git USB: xhci: Fix error path when configuring endpoints. If we fail to queue an evaluate context command or a configure endpoint command to the command ring in xhci_configure_endpoint(), we need to remove the xhci_command structure from the device's command list before returning. If the command is left on the command list, it will sit there indefinitely, blocking commands submitted after this fails. Signed-off-by: Sarah Sharp Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed