diff options
author | Judy Hsiao <judyhsiao@chromium.org> | 2022-09-14 06:12:34 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-09-14 12:39:28 +0300 |
commit | fbb0ec656ee5ee43b4b3022fd8290707265c52df (patch) | |
tree | ee81d5167b923203519640e9d7a69ffe175354f0 /sound/sound_core.c | |
parent | 3e9a838634b181b5775d3459f05c2055d24d080a (diff) | |
download | linux-fbb0ec656ee5ee43b4b3022fd8290707265c52df.tar.xz |
ASoC: rockchip: i2s: use regmap_read_poll_timeout to poll I2S_CLR
Use regmap_read_poll_timeout to poll I2S_CLR.
It also fixes the 'rockchip-i2s ff070000.i2s; fail to clear' when
the read of I2S_CLR exceeds the retry limit.
Fixes: 0ff9f8b9f592 ("ASoC: rockchip: i2s: Fix error code when fail to read I2S_CLR")
Signed-off-by: Judy Hsiao <judyhsiao@chromium.org>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Link: https://lore.kernel.org/r/20220914031234.2250298-1-judyhsiao@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/sound_core.c')
0 files changed, 0 insertions, 0 deletions