git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
USB: musb: fix isochronous TXDMA (take 2)
[pandora-kernel.git]
/
drivers
/
usb
/
musb
/
cppi_dma.c
diff --git
a/drivers/usb/musb/cppi_dma.c
b/drivers/usb/musb/cppi_dma.c
index
30e2489
..
1976e9b
100644
(file)
--- a/
drivers/usb/musb/cppi_dma.c
+++ b/
drivers/usb/musb/cppi_dma.c
@@
-579,6
+579,7
@@
cppi_next_tx_segment(struct musb *musb, struct cppi_channel *tx)
* trigger the "send a ZLP?" confusion.
*/
rndis = (maxpacket & 0x3f) == 0
+ && length > maxpacket
&& length < 0xffff
&& (length % maxpacket) != 0;