X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fusb%2Fmusb%2Fcppi_dma.c;h=569ef0fed0f6fa4dff994acbd132a465aae454c6;hb=191b776616838f035c2fe7eecc882b5c1f134353;hp=d8d5345519c997f24cc8505fcb93b9d55e9bc30d;hpb=704a14854aaf9758a1248ea36a7d1b8cc42a4b3e;p=linux-2.6-omap-h63xx.git diff --git a/drivers/usb/musb/cppi_dma.c b/drivers/usb/musb/cppi_dma.c index d8d5345519c..569ef0fed0f 100644 --- a/drivers/usb/musb/cppi_dma.c +++ b/drivers/usb/musb/cppi_dma.c @@ -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)