USB: Refactor hub_port_wait_reset.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Tue, 11 Dec 2012 18:14:03 +0000 (10:14 -0800)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Thu, 3 Jan 2013 22:10:38 +0000 (14:10 -0800)
Refactor hub_port_wait_reset into a small loop to wait for the port
reset to be complete, and then a larger block to deal with the final
port status.  This patch should not change any current behavior.

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>

No differences found