From 2eebdb6e5629517cc28b59cadaa07f2f2985a8fa Mon Sep 17 00:00:00 2001 From: Andiry Xu Date: Thu, 5 May 2011 18:14:00 +0800 Subject: [PATCH] --- yaml --- r: 248839 b: refs/heads/master c: 7b1fc2ea8a5fbf9487d83865456cff77d0249ea9 h: refs/heads/master i: 248837: 8bb8d48b1e15e0f7560e8e66448ffe1cc60cd290 248835: 7984dcfbcdbfb8a15a6d2fb10852e2e0e5e562c9 248831: 9b1fade141dab63225fb3d45078dd77e175fdfef v: v3 --- [refs] | 2 +- trunk/drivers/usb/host/xhci-mem.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 8097c3edb5c8..d8644ab6c27b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 51eb01a746089f2c3d9b87f870353772d2fb4c37 +refs/heads/master: 7b1fc2ea8a5fbf9487d83865456cff77d0249ea9 diff --git a/trunk/drivers/usb/host/xhci-mem.c b/trunk/drivers/usb/host/xhci-mem.c index 543833b9dbad..04145740686c 100644 --- a/trunk/drivers/usb/host/xhci-mem.c +++ b/trunk/drivers/usb/host/xhci-mem.c @@ -1190,12 +1190,12 @@ int xhci_endpoint_init(struct xhci_hcd *xhci, /* FIXME dig Mult and streams info out of ep companion desc */ /* Allow 3 retries for everything but isoc; - * error count = 0 means infinite retries. + * CErr shall be set to 0 for Isoch endpoints. */ if (!usb_endpoint_xfer_isoc(&ep->desc)) ep_ctx->ep_info2 = cpu_to_le32(ERROR_COUNT(3)); else - ep_ctx->ep_info2 = cpu_to_le32(ERROR_COUNT(1)); + ep_ctx->ep_info2 = cpu_to_le32(ERROR_COUNT(0)); ep_ctx->ep_info2 |= cpu_to_le32(xhci_get_endpoint_type(udev, ep));