summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>2019-01-21 14:44:47 +0100
committerFelipe Balbi <felipe.balbi@linux.intel.com>2019-02-07 12:14:51 +0100
commit10209abe87f5ebfd482a00323f5236d6094d0865 (patch)
treed7fd1ccc86ce628d5c2e401d41cc8ebb60a890f0 /drivers/power
parentusb: gadget: fix various indentation issues (diff)
downloadlinux-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