diff options
author | Thinh Nguyen <Thinh.Nguyen@synopsys.com> | 2020-09-24 01:21:49 -0700 |
---|---|---|
committer | Felipe Balbi <balbi@kernel.org> | 2020-10-02 09:57:44 +0300 |
commit | 13111fcb0d64fb69bd7466d6e2ca6ed7b95a9d50 (patch) | |
tree | 7adee0069b2fd4a6261b35722f1a88097f97abd7 /drivers/usb/common | |
parent | 66706077dc89c66a4777a4c6298273816afb848c (diff) | |
download | linux-13111fcb0d64fb69bd7466d6e2ca6ed7b95a9d50.tar.bz2 |
usb: dwc3: gadget: Return the number of prepared TRBs
In preparation for fixing the check for number of remaining TRBs,
revise dwc3_prepare_one_trb_linear() and dwc3_prepare_one_trb_sg() to
return the number of prepared TRBs.
Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'drivers/usb/common')
0 files changed, 0 insertions, 0 deletions