• S
    usb: musb: workaround toggle bug when doing bulk transfer after isoc · 5274dab6
    Swaminathan S 提交于
    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: NSwaminathan S <swami.iyer@ti.com>
    Signed-off-by: NFelipe Balbi <felipe.balbi@nokia.com>
    Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
    5274dab6
musb_host.c 62.7 KB