diff options
author | Andrzej Pietrasiewicz <andrzej.p@samsung.com> | 2019-01-21 14:44:47 +0100 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2019-02-07 12:14:51 +0100 |
commit | 10209abe87f5ebfd482a00323f5236d6094d0865 (patch) | |
tree | d7fd1ccc86ce628d5c2e401d41cc8ebb60a890f0 /drivers/power | |
parent | usb: gadget: fix various indentation issues (diff) | |
download | linux-10209abe87f5ebfd482a00323f5236d6094d0865.tar.xz linux-10209abe87f5ebfd482a00323f5236d6094d0865.zip |
usb: dwc2: gadget: Add scatter-gather mode
This patch adds support for transferring requests, which are
non-contiguous in physical memory, i.e. the data buffer is described by
a scatter-list. This allows transferring large requests without relying
on error-prone contiguous buffer allocations. This way of allocating
requests is already implemented in functionfs and TCM USB functions and
automatically used if UDC driver advertises scatter-gather suppport.
Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
[mszyprow: fixed null pointer issue, rewrote commit message]
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions