]> err.no Git - linux-2.6/commit
USB: allow retry on descriptor fetch errors
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 20 Aug 2007 14:45:28 +0000 (10:45 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 22 Aug 2007 21:27:58 +0000 (14:27 -0700)
commitc39772d82ad453647ea4bf9d793010d86ef5e597
treebfdaa9b8685672794204c32bc77197b4f5d54db9
parent3b79cc26708bcc476d4e4bf3846032fa3a1eeb85
USB: allow retry on descriptor fetch errors

This patch (as964) was suggested by Steffen Koepf.  It makes
usb_get_descriptor() retry on all errors other than ETIMEDOUT, instead
of only on EPIPE.  This helps with some devices.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
CC: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/message.c