commit | c7de573471832dff7d31f0c13b0f143d6f017799 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <felipe.balbi@linux.intel.com> | Fri Jul 29 03:17:58 2016 +0300 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Wed Aug 10 14:15:57 2016 +0300 |
tree | 3ca47cf8a8235647ba051e40576a6ec988f692c7 | |
parent | 29b4817d4018df78086157ea3a55c1d9424a7cfc [diff] |
usb: dwc3: gadget: increment request->actual once When using SG lists, we would end up setting request->actual to: num_mapped_sgs * (request->length - count) Let's fix that up by incrementing request->actual only once. Cc: <stable@vger.kernel.org> Reported-by: Brian E Rogers <brian.e.rogers@intel.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>