summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci-mem.c
diff options
context:
space:
mode:
authorAndiry Xu <andiry.xu@amd.com>2011-09-13 16:41:11 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2011-09-20 12:33:49 -0700
commit75d7cf72ab9fa01dc70877aa5c68e8ef477229dc (patch)
tree7c318e28fc09fc1991a5fd2982931ca5276d39db /drivers/usb/host/xhci-mem.c
parentd78265992425ccb5753db9c56d9703c91b963e4b (diff)
usbcore: refine warm reset logic
Current waiting time for warm(BH) reset in hub_port_warm_reset() is too short for xHC host to complete the warm reset and report a BH reset change. This patch increases the waiting time for warm reset and merges the function into hub_port_reset(), so it can handle both cold reset and warm reset, and factor out hub_port_finish_reset() to make the code looks cleaner. This fixes the issue that driver fails to clear BH reset change and port is "dead". Signed-off-by: Andiry Xu <andiry.xu@amd.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/xhci-mem.c')
0 files changed, 0 insertions, 0 deletions