From: Swaminathan S Date: Fri, 29 Jan 2010 22:20:16 +0000 (-0800) Subject: usb: musb: workaround toggle bug when doing bulk transferafter isoc X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72f02ba4f293cefa16d5759b0fe5768b865c4154;p=pandora-kernel.git usb: musb: workaround toggle bug when doing bulk transferafter isoc This patch implements the work around for a Mentor controller related bug where it's observed a BULK Tx toggle error on the bus when a BULK IO gets scheduled on an endpoint that was earlier used for handling ISOC transaction and needed to start on 1 toggle. When such a situation arises even if the TXCSR toggle bits are programmed correctly by the musb driver the data gets transmitted with 0 toggle which leads to toggle error on the bus and the BULK transaction fails. In case of MSC write, the device gets reset by the Host. This Mentor bug is observed on almost all Mentor versions (1.3, 1.5, 1.8). Confirmed on DM644x, DM355, DM365, OMAPL13x platforms. Signed-off-by: Swaminathan S Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed