summaryrefslogtreecommitdiffstats
path: root/drivers/tty/goldfish.c
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2013-12-16 11:35:35 +0100
committerDavid S. Miller <davem@davemloft.net>2013-12-18 17:46:55 -0500
commit4263c86dca5198da6bd3ad826d0b2304fbe25776 (patch)
tree9b5705a6b9b1ae2f6d93293acc221897d12ef583 /drivers/tty/goldfish.c
parentcabd0e3a3861d45569b8f91633c98fc48d820cdb (diff)
downloadop-kernel-dev-4263c86dca5198da6bd3ad826d0b2304fbe25776.zip
op-kernel-dev-4263c86dca5198da6bd3ad826d0b2304fbe25776.tar.gz
dm9601: work around tx fifo sync issue on dm962x
Certain dm962x revisions contain an bug, where if a USB bulk transfer retry (E.G. if bulk crc mismatch) happens right after a transfer with odd or maxpacket length, the internal tx hardware fifo gets out of sync causing the interface to stop working. Work around it by adding up to 3 bytes of padding to ensure this situation cannot trigger. This workaround also means we never pass multiple-of-maxpacket size skb's to usbnet, so the length adjustment to handle usbnet's padding of those can be removed. Cc: <stable@vger.kernel.org> Reported-by: Joseph Chang <joseph_chang@davicom.com.tw> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/tty/goldfish.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud