]> err.no Git - linux-2.6/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)
commit86c57edf60f5c98adb496880f56cd0e5a3423153
treee95742e71c85f85549d3be390803d1fa5328853f
parentac90e36592ea5171c4e70f58b39a782d871a7d9f
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