summaryrefslogtreecommitdiffstats
path: root/scripts/tools-support-relr.sh
diff options
context:
space:
mode:
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>2022-01-25 14:24:55 +0100
committerMark Brown <broonie@kernel.org>2022-01-25 14:51:16 +0100
commit7276d3f329c633340f3c539ce35ed254d2fe467b (patch)
tree9f751301ae2744bfe2cf6f52a33f8a7d1be4aa64 /scripts/tools-support-relr.sh
parentASoC: Intel: sof_rt5682: add two derivative options (diff)
downloadlinux-7276d3f329c633340f3c539ce35ed254d2fe467b.tar.xz
linux-7276d3f329c633340f3c539ce35ed254d2fe467b.zip
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 <prabhakar.mahadev-lad.rj@bp.renesas.com> Link: https://lore.kernel.org/r/20220125132457.14984-2-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/tools-support-relr.sh')
0 files changed, 0 insertions, 0 deletions