linux-stable/sound/soc/sh
Lad Prabhakar 7276d3f329
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>
2022-01-25 13:51:16 +00:00
..
rcar ASoC: rsnd: fixup DMAEngine API 2021-11-12 21:25:19 +00:00
dma-sh7760.c ASoC: sh: dma-sh7760: remove unused variable 2021-03-10 13:06:59 +00:00
fsi.c ASoC: fsi: fix spelling mistake 2021-06-18 12:55:19 +01:00
hac.c ASoC: soc-core: remove bus_control 2020-01-21 17:07:08 +00:00
Kconfig ASoC: sh: Add RZ/G2L SSIF-2 driver 2021-08-13 13:17:16 +01:00
Makefile ASoC: sh: Add RZ/G2L SSIF-2 driver 2021-08-13 13:17:16 +01:00
migor.c ASoC: sh: use asoc_substream_to_rtd() 2020-07-23 19:07:25 +01:00
rz-ssi.c ASoC: sh: rz-ssi: Use a do-while loop in rz_ssi_pio_recv() 2022-01-25 13:51:16 +00:00
sh7760-ac97.c ASoC: sh: sh7760-ac97: use modern dai_link style 2019-06-06 21:37:35 +01:00
siu.h ASoC: siu: Fix build error by a wrong const prefix 2021-01-27 12:35:18 +00:00
siu_dai.c ASoC: siu: convert to SPDX identifiers 2018-06-18 12:16:42 +01:00
siu_pcm.c ASoC: sh: siu_pcm: remove unused variable 2021-03-10 13:07:04 +00:00
ssi.c ASoC: ssi: don't use discriminatory terms for debug log 2020-07-14 16:38:24 +01:00