• Alan Stern's avatar
    USB: EHCI: add software retry for transaction errors · a2c2706e
    Alan Stern authored
    This patch (as1204) adds a software retry mechanism to ehci-hcd.  It
    gets invoked when the driver encounters transaction errors on an
    asynchronous endpoint.  On many systems, hardware deficiencies cause
    such errors to occur if one device is unplugged while the host is
    communicating with another device.  With the patch, the failed
    transactions are retried and generally succeed the second or third
    time through.
    
    This is based on code originally written by Koichiro Saito.
    Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
    Tested by: Koichiro Saito <Saito.Koichiro@adniss.jp>
    CC: David Brownell <david-b@pacbell.net>
    Cc: stable <stable@kernel.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    a2c2706e
ehci.h 21.6 KB