usb: dwc3: gadget: fix DMA offset calculation
authorPaul Zimmerman <Paul.Zimmerman@synopsys.com>
Fri, 30 Sep 2011 07:58:45 +0000 (10:58 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 4 Oct 2011 17:25:53 +0000 (10:25 -0700)
commitc439ef87c33a1df30f528cb152151465c2529cac
treeceb364adaef586bbd65dab320cae2dc5bb7d0d9e
parent5275455a6e6ae6b57303834b0afd267bb9657ffc
usb: dwc3: gadget: fix DMA offset calculation

Fix offset calculation in dwc3_trb_dma_offset()

Signed-off-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/dwc3/gadget.c