diff options
author | 2020-09-30 17:44:25 -0700 | |
---|---|---|
committer | 2020-10-02 09:57:46 +0300 | |
commit | 8dbbe48c7a9989c75e39bfb2a886e163fa21660a (patch) | |
tree | 25923f5d3040fba4e7f42c38191a2c6f9cf122ff /tools/perf/scripts/python/export-to-postgresql.py | |
parent | usb: dwc3: gadget: Look ahead when setting IOC (diff) | |
download | wireguard-linux-8dbbe48c7a9989c75e39bfb2a886e163fa21660a.tar.xz wireguard-linux-8dbbe48c7a9989c75e39bfb2a886e163fa21660a.zip |
usb: dwc3: gadget: Revise setting IOC when no TRB left
To keep the setting of interrupt-on-completion (IOC) when out of TRBs
consistent and easier to read, the caller of dwc3_prepare_one_trb()
will determine if the TRB must have IOC bit set. This also reduces the
number of times we need to call dwc3_calc_trbs_left(). Note that we only
care about setting IOC from insufficient number of TRBs for SG and not
linear requests (because we don't need to split linear requests).
Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions