From: Sebastian Andrzej Siewior Date: Tue, 24 Jan 2012 11:44:34 +0000 (+0100) Subject: usb: dwc3: unmap the proper number of sg entries X-Git-Tag: v3.3-rc2~5^2~4^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c09d6b51d78f5ad33417dbac9b479bd6709f9f25;p=pandora-kernel.git 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 Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed