diff options
author | Lad Prabhakar <[email protected]> | 2022-01-25 13:24:55 +0000 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-01-25 13:51:16 +0000 |
commit | 7276d3f329c633340f3c539ce35ed254d2fe467b (patch) | |
tree | 9f751301ae2744bfe2cf6f52a33f8a7d1be4aa64 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 9ebb50df2bff0470d0f9801ff7c7eee5842e058a (diff) |
ASoC: sh: rz-ssi: Use a do-while loop in rz_ssi_pio_recv()
Use a do-while loop while reading the samples from RX FIFO. The "done"
flag was only changed as an outcome of the last if-statement (last step)
in this entire procedure. This patch moves the condition from if
statement to while and drops the "done" variable for readability.
While at it, also drop the unneeded parentheses around runtime->dma_area.
Signed-off-by: Lad Prabhakar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions