aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>2020-09-30 17:44:25 -0700
committerFelipe Balbi <balbi@kernel.org>2020-10-02 09:57:46 +0300
commit8dbbe48c7a9989c75e39bfb2a886e163fa21660a (patch)
tree25923f5d3040fba4e7f42c38191a2c6f9cf122ff /scripts/gdb/linux/utils.py
parentf9cc581badb144a3dcd841aee2d3bc2d242fcb2f (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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions