]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/usb/musb/cppi_dma.c
USB: musb cppi dma fix
[linux-2.6-omap-h63xx.git] / drivers / usb / musb / cppi_dma.c
index d8d5345519c997f24cc8505fcb93b9d55e9bc30d..569ef0fed0f6fa4dff994acbd132a465aae454c6 100644 (file)
@@ -995,6 +995,7 @@ static int cppi_channel_program(struct dma_channel *ch,
        cppi_ch->offset = 0;
        cppi_ch->maxpacket = maxpacket;
        cppi_ch->buf_len = len;
+       cppi_ch->channel.actual_len = 0;
 
        /* TX channel? or RX? */
        if (cppi_ch->transmit)