USB: musb: correct DMA address for tx
authorCliff Cai <[email protected]>
Tue, 22 Dec 2009 02:18:02 +0000 (21:18 -0500)
committerGreg Kroah-Hartman <[email protected]>
Wed, 23 Dec 2009 19:34:18 +0000 (11:34 -0800)
commit796a83fa039de50133171221ac102a2310e81ffd
treef34ef2ed674f3b9b5dcf65fbb901aa975e5df935
parent17be5c5f5ef99c94374e07f71effa78e93a20eda
USB: musb: correct DMA address for tx

Since a DMA transfer may need to be kicked off several times to complete,
the DMA start must include the length that has already been transferred.

Signed-off-by: Cliff Cai <[email protected]>
Signed-off-by: Mike Frysinger <[email protected]>
Cc: Felipe Balbi <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/usb/musb/musb_gadget.c