diff options
| author | Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> | 2022-01-10 09:47:07 +0000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2022-01-24 13:31:27 +0000 |
| commit | 6570f991582e32b7992601d0497c61962a2c5dcc (patch) | |
| tree | e802d3b8dc884dd4624e12c1cd874ea30caca8e0 /tools/perf/scripts/python | |
| parent | Merge existing fixes from asoc/for-5.17 into new branch (diff) | |
| download | linux-6570f991582e32b7992601d0497c61962a2c5dcc.tar.gz linux-6570f991582e32b7992601d0497c61962a2c5dcc.zip | |
ASoC: sh: rz-ssi: Drop calling rz_ssi_pio_recv() recursively
Instead of recursively calling rz_ssi_pio_recv() use a while loop
to read the samples from RX fifo.
This also fixes an issue where the return value of rz_ssi_pio_recv()
was ignored when called recursively.
Fixes: 03e786bd4341 ("ASoC: sh: Add RZ/G2L SSIF-2 driver")
Reported-by: Pavel Machek <pavel@denx.de>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20220110094711.8574-2-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
