summaryrefslogtreecommitdiff
path: root/fs/ntfs/usnjrnl.c
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2014-01-10 05:51:32 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-06 19:22:14 (GMT)
commitc3d0a890ee3d67198fce4510e073f087c8f3b42f (patch)
tree5c11fe7c7a6b51725d1e14a7f3287c839ea09252 /fs/ntfs/usnjrnl.c
parent92083ad956978ee6a79e8a14b38dce6f3e278db2 (diff)
downloadlinux-fsl-qoriq-c3d0a890ee3d67198fce4510e073f087c8f3b42f.tar.xz
usb: chipidea: udc: using MultO at TD as real mult value for ISO-TX
commit 2fc5a7dace3c43e62402ab4e8800a8f1834ffe2a upstream. We have met a bug that the high bandwidth ISO-TX transfer has failed at the last packet if it is less than 1024, the TD status shows it is "Transaction Error". The root cause of this problem is: the mult value at qh is not correct for current TD's transfer length. We use TD list to queue un-transfer TDs, and change mult for new adding TDs. If new adding TDs transfer length less than 1024, but the queued un-transfer TDs transfer length is larger than 1024, the transfer error will occur, and vice versa. Usually, this problem occurs at the last packet, and the first packet for new frame. We fixed this problem by setting Mult at QH as the largest value (3), and set MultO (Multiplier Override) at TD according to every transfer length. It can cover both hardware version less than 2.3 (the real mult is MultO if it is not 0) and 2.3+ (the real mult is min(qh.mult, td.multo)). Since the MultO bits are only existed at TX TD, we keep the ISO-RX behavior unchanged. For stable tree: 3.11+. Cc: Michael Grzeschik <m.grzeschik@pengutronix.de> Reported-by: Matthieu Vanin <b47495@freescale.com> Tested-by: Matthieu Vanin <b47495@freescale.com> Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/ntfs/usnjrnl.c')
0 files changed, 0 insertions, 0 deletions