diff options
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/musb/cppi_dma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/musb/cppi_dma.c b/drivers/usb/musb/cppi_dma.c index d8d5345519c9..569ef0fed0f6 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, | |||
995 | cppi_ch->offset = 0; | 995 | cppi_ch->offset = 0; |
996 | cppi_ch->maxpacket = maxpacket; | 996 | cppi_ch->maxpacket = maxpacket; |
997 | cppi_ch->buf_len = len; | 997 | cppi_ch->buf_len = len; |
998 | cppi_ch->channel.actual_len = 0; | ||
998 | 999 | ||
999 | /* TX channel? or RX? */ | 1000 | /* TX channel? or RX? */ |
1000 | if (cppi_ch->transmit) | 1001 | if (cppi_ch->transmit) |