From: Hans Petter Selasky Date: Fri, 2 Sep 2011 06:17:17 +0000 (+0200) Subject: musb_gadget: Fix for spurious interrupts on endpoint zero. X-Git-Tag: v3.2-rc1~183^2~164 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de76cc2ba2116322f1bcc26f5b22d6092bb63a0d;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed