• Alan Stern's avatar
    USB: EHCI: add software retry for transaction errors · 39f8c8a3
    Alan Stern authored
    upstream commit: a2c2706e
    
    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>
    Signed-off-by: default avatarChris Wright <chrisw@sous-sol.org>
    39f8c8a3
ehci-q.c 33.3 KB