From: Nick Hudson Date: Thu, 11 Sep 2014 22:22:48 +0000 (-0700) Subject: usb: dwc2: make the scheduler handle excessive NAKs better X-Git-Tag: fixes-for-v3.18-merge-window~15^2~446 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5717a75db0d4e590c0c050a6f49c6cc0afcec8a;p=pandora-kernel.git usb: dwc2: make the scheduler handle excessive NAKs better I'm seeing problems with a d-link dwcl-g122 wifi dongle that someone sent me. There are reports of other wifi dongles with the same/similar problem. The devices appear to be NAKing to the point of confusing the dwc2 driver completely. The attached patch helps with my d-link dwl-g122 - it's adapted from the Raspberry Pi dwc_otg driver, which is a modified version of the Synopsys vendor driver. The error recovery is still valid after the patch, I think. Cc: Dom Cobley Signed-off-by: Nick Hudson Signed-off-by: Paul Zimmerman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed