diff options
| author | Thinh Nguyen <Thinh.Nguyen@synopsys.com> | 2020-09-30 17:44:25 -0700 | 
|---|---|---|
| committer | Felipe Balbi <balbi@kernel.org> | 2020-10-02 09:57:46 +0300 | 
| commit | 8dbbe48c7a9989c75e39bfb2a886e163fa21660a (patch) | |
| tree | 25923f5d3040fba4e7f42c38191a2c6f9cf122ff /tools/perf/scripts/python/powerpc-hcalls.py | |
| parent | f9cc581badb144a3dcd841aee2d3bc2d242fcb2f (diff) | |
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/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions
