]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc2: make the scheduler handle excessive NAKs better
authorNick Hudson <skrll@netbsd.org>
Thu, 11 Sep 2014 22:22:48 +0000 (15:22 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Sep 2014 22:39:22 +0000 (15:39 -0700)
commit6d29cb94b6e1175e153a97e9674bad2c4c1077cf
tree38ca0aafd37bf105ab610018a255734e35da5545
parentb37ca17e5413de7d69274d092128ff9433bf0ac1
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 <popcornmix@gmail.com>
Signed-off-by: Nick Hudson <skrll@netbsd.org>
Signed-off-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc2/hcd_intr.c