]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
usb: c67x00 RetryCnt value in c67x00 TD should be 3
authorDave Tubbs <dave.tubbs@portalislc.com>
Wed, 27 Feb 2013 23:32:55 +0000 (16:32 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Mar 2013 04:31:37 +0000 (12:31 +0800)
RetryCnt value in c67x00 TD should be 3 (both bits set to 1). Reference
Cypress Semiconductor BIOS User's Manual 1.2, page 3-14

Signed-off-by: Dave Tubbs <dave.tubbs@portalislc.com>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/c67x00/c67x00-sched.c

index aa2262f89a40a578be9bd11b105c300233caa434..aa491627a45ba83b51a881e0f5b7226a26139933 100644 (file)
@@ -590,7 +590,7 @@ static int c67x00_create_td(struct c67x00_hcd *c67x00, struct urb *urb,
 {
        struct c67x00_td *td;
        struct c67x00_urb_priv *urbp = urb->hcpriv;
-       const __u8 active_flag = 1, retry_cnt = 1;
+       const __u8 active_flag = 1, retry_cnt = 3;
        __u8 cmd = 0;
        int tt = 0;