]> err.no Git - linux-2.6/commit
USB: reorganize urb->status use in sl811-hcd
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 24 Aug 2007 19:40:47 +0000 (15:40 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:55:22 +0000 (14:55 -0700)
commit65e51098d9094c7e840b6d6291867b95538d9442
treef14e217542b9906aeea41d607b19c686b2a766cd
parent55d8496837cf124f68656e4242a5e20eb592fd54
USB: reorganize urb->status use in sl811-hcd

This patch (as976) reorganizes the way sl811-hcd sets urb->status.  It
now keeps the information in a local variable until the last moment.

The patch also improves the handling of faults during the status stage
of a control transfer, since it no longer needs to retain the error
information from the earlier stages.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
CC: David Brownell <david-b@pacbell.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/sl811-hcd.c