aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2012-01-24 06:44:34 -0500
committerFelipe Balbi <balbi@ti.com>2012-01-24 08:43:17 -0500
commitc09d6b51d78f5ad33417dbac9b479bd6709f9f25 (patch)
tree864f308145130a6967ab6d6508c033aff47330c7 /samples
parent24307caef4950e42e7875a901856ed8816c4679c (diff)
usb: dwc3: unmap the proper number of sg entries
num_sgs contains the number of sgs assigned by the gadget. num_mapped_sgs contains the number of mapped sgs which may differ from the gadget's values. For dma_unmap_sg() we have to provide the value which was returned by dma_map_sg(). Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions