diff options
author | Hans Petter Selasky <hselasky@c2i.net> | 2011-09-02 08:17:17 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-09-10 00:58:02 +0200 |
commit | de76cc2ba2116322f1bcc26f5b22d6092bb63a0d (patch) | |
tree | 5ad5f66be6dd9bb938aa095049056d7a7a660a18 /drivers/usb/gadget/zero.c | |
parent | USB: for usb_autopm_get_interface_async -EINPROGRESS is not an error (diff) | |
download | linux-de76cc2ba2116322f1bcc26f5b22d6092bb63a0d.tar.xz linux-de76cc2ba2116322f1bcc26f5b22d6092bb63a0d.zip |
musb_gadget: Fix for spurious interrupts on endpoint zero.
There is a multi-year old bug in the MUSB hardware which is not documented.
It causes spurious interrupts and have various symptoms, like endless
"SetupEnd came in a wrong ep0stage" messages. The fix is taken from the
FreeBSD's musb driver.
How to reproduce:
For example issue clear-stall on a couple of endpoints very fast,
like one request per 125us. After a while the bug triggers and the
musb-chip becomes unusable until next re-enumeration.
Signed-off-by: Hans Petter Selasky <hps@bitfrost.no>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/zero.c')
0 files changed, 0 insertions, 0 deletions