USB: musb: fix isochronous TXDMA (take 2)
[safe/jmp/linux-2.6] / drivers / usb / musb / cppi_dma.c
index 30e2489..1976e9b 100644 (file)
@@ -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;