aboutsummaryrefslogtreecommitdiff
path: root/lib/crc32defs.h
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2008-10-21 15:40:03 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-10-22 10:05:29 -0700
commit6c6409459a18a825ce12ecb003d5686af61f7a2f (patch)
treef28fec32ce7a7a5c6ce0b4df41cd39a4fee27622 /lib/crc32defs.h
parenta496c64f1363ec4d67ebdc1e1f619ad6372a574c (diff)
USB: don't rebind drivers after failed resume or reset
This patch (as1152) may help prevent some problems associated with the new policy of unbinding drivers that don't support suspend/resume or pre_reset/post_reset. If for any reason the resume or reset fails, and the device is logically disconnected, there's no point in trying to rebind the driver. So the patch checks for success before carrying out the unbind/rebind. There was a report from one user that this fixed a problem he was experiencing, but the details never became fully clear. In any case, adding these tests can't hurt. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/crc32defs.h')
0 files changed, 0 insertions, 0 deletions