diff options
author | Peter Ujfalusi <[email protected]> | 2019-07-16 11:24:58 +0300 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2019-07-29 12:05:01 +0530 |
commit | aac8670369dc017609b8e8870975641ad3143448 (patch) | |
tree | 005b21c748f24b640945ba1fffed918f5d33cc47 /tools/perf/util/c++/clang-test.cpp | |
parent | f4c255f1a747497a21748619d909cadabcfa060e (diff) |
dmaengine: ti: omap-dma: Readability cleanup in omap_dma_tx_status()
The tx_status is most likely going to be asked for the current transfer, so
check that first then try to fall back to lookup of non started transfers.
In this way the code is a bit more readable and in most cases we will avoid
to run vchan_find_desc() all the time.
Signed-off-by: Peter Ujfalusi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions