diff options
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/musb/musb_gadget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c index e164999bd364..ac306985a8a1 100644 --- a/drivers/usb/musb/musb_gadget.c +++ b/drivers/usb/musb/musb_gadget.c | |||
@@ -319,7 +319,7 @@ static void txstate(struct musb *musb, struct musb_request *req) | |||
319 | use_dma = use_dma && c->channel_program( | 319 | use_dma = use_dma && c->channel_program( |
320 | musb_ep->dma, musb_ep->packet_sz, | 320 | musb_ep->dma, musb_ep->packet_sz, |
321 | musb_ep->dma->desired_mode, | 321 | musb_ep->dma->desired_mode, |
322 | request->dma, request_size); | 322 | request->dma + request->actual, request_size); |
323 | if (use_dma) { | 323 | if (use_dma) { |
324 | if (musb_ep->dma->desired_mode == 0) { | 324 | if (musb_ep->dma->desired_mode == 0) { |
325 | /* | 325 | /* |