ChangeSet 1.2056, 2005/02/16 14:26:53-08:00, [EMAIL PROTECTED] [PATCH] USB Hub driver: Add reset recovery-time delay
This patch is clearly needed for us to be in compliance with the USB spec. It adds the mandated recovery-time delay following a port reset. Regardless of anything else we do to alter the device initialization sequence, this is necessary. Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> drivers/usb/core/hub.c | 3 +++ 1 files changed, 3 insertions(+) diff -Nru a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c --- a/drivers/usb/core/hub.c 2005-02-16 14:47:36 -08:00 +++ b/drivers/usb/core/hub.c 2005-02-16 14:47:36 -08:00 @@ -1382,6 +1382,9 @@ /* return on disconnect or reset */ switch (status) { case 0: + /* TRSTRCY = 10 ms */ + msleep(10); + /* FALL THROUGH */ case -ENOTCONN: case -ENODEV: clear_port_feature(hub->hdev, ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel