From: xiao jin Date: Fri, 11 Oct 2013 00:57:03 +0000 (+0800) Subject: xhci: correct the usage of USB_CTRL_SET_TIMEOUT X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~66^2~32^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d194c031994d3fc1038fa09e9e92d9be24a21921;p=pandora-kernel.git xhci: correct the usage of USB_CTRL_SET_TIMEOUT The usage of USB_CTRL_SET_TIMEOUT in xhci is incorrect. The definition of USB_CTRL_SET_TIMEOUT is 5000ms. The input timeout to wait_for_completion_interruptible_timeout is jiffies. That makes the timeout be longer than what we want, such as 50s in some platform. The patch is to use XHCI_CMD_DEFAULT_TIMEOUT instead of USB_CTRL_SET_TIMEOUT as command completion event timeout. Signed-off-by: xiao jin Signed-off-by: Sarah Sharp --- Reading git-diff-tree failed