diff options
| author | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-07-29 03:17:58 +0300 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-11 10:58:02 +0200 |
| commit | 5fe550ee4b3cc59658a5c7ce16a3c3dceea95db7 (patch) | |
| tree | dbe02294fe8194c19282535d31e0cb57878282e5 /scripts | |
| parent | 006421b1c1077f1a38768cf449f1c489b25e8ad9 (diff) | |
usb: dwc3: gadget: increment request->actual once
commit c7de573471832dff7d31f0c13b0f143d6f017799 upstream.
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.
Reported-by: Brian E Rogers <brian.e.rogers@intel.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
