diff options
| author | 2020-09-24 01:21:30 -0700 | |
|---|---|---|
| committer | 2020-10-02 09:57:44 +0300 | |
| commit | 2b80357b773c4c572233d191cd849d25311c48fd (patch) | |
| tree | c331720b3288092fd1aff0ccc9518fd0e1207a53 /lib/math/git:/ssh:/git@git.zx2c4.com | |
| parent | usb: dwc3: gadget: Reclaim extra TRBs after request completion (diff) | |
| download | linux-dev-2b80357b773c4c572233d191cd849d25311c48fd.tar.xz linux-dev-2b80357b773c4c572233d191cd849d25311c48fd.zip | |
usb: dwc3: gadget: Refactor preparing extra TRB
When the driver prepares the extra TRB, it uses bounce buffer. If we
just add a new parameter to dwc3_prepare_one_trb() to indicate this,
then we can refactor and simplify the driver quite a bit.
dwc3_prepare_one_trb() also checks if a request had been moved to the
started list. This is a prerequisite to subsequence patches improving
the handling of extra TRBs.
Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'lib/math/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
