USB: xHCI: re-initialize cmd_completion
authorAndiry Xu <andiry.xu@amd.com>
Fri, 12 Mar 2010 09:10:04 +0000 (17:10 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Mar 2010 14:24:09 +0000 (07:24 -0700)
commit1d68064a7d80da4a7334cab0356162e36229c1a1
tree4a451c1ea68c8ec1b212988f2cc8c350d36758aa
parentbc75fa3825cdbbdeee3a65d91cc5583bdfe41edf
USB: xHCI: re-initialize cmd_completion

When a signal interrupts a Configure Endpoint command, the cmd_completion used
in xhci_configure_endpoint() is not re-initialized and the
wait_for_completion_interruptible_timeout() will return failure. Initialize
cmd_completion in xhci_configure_endpoint().

Signed-off-by: Andiry Xu <andiry.xu@amd.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/xhci.c