]> git.baikalelectronics.ru Git - kernel.git/commit
USB: use reset_resume when normal resume fails
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 30 Jun 2008 15:14:43 +0000 (11:14 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Jul 2008 22:16:48 +0000 (15:16 -0700)
commit09ebcc28587b7ffe0a08943b50a96fde736cdff8
treee95742e71c85f85549d3be390803d1fa5328853f
parent90b54f50abd6f113b0785dfcdbfa30a51b3fbf18
USB: use reset_resume when normal resume fails

This patch (as1109b) makes USB-Persist more resilient to errors.  With
the current code, if a normal resume fails, it's an unrecoverable
error.  With the patch, if a normal resume fails (and if the device is
enabled for USB-Persist) then a reset-resume is tried.

This fixes the problem reported in Bugzilla #10977.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/usb/persist.txt
drivers/usb/core/hub.c