aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2012-01-24 11:44:34 +0000
committerFelipe Balbi <[email protected]>2012-01-24 13:43:17 +0000
commitc09d6b51d78f5ad33417dbac9b479bd6709f9f25 (patch)
tree864f308145130a6967ab6d6508c033aff47330c7 /lib/string_helpers.c
parentusb: musb: fix shutdown while usb gadget is in use (diff)
downloadkernel-c09d6b51d78f5ad33417dbac9b479bd6709f9f25.tar.gz
kernel-c09d6b51d78f5ad33417dbac9b479bd6709f9f25.zip
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 <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions