Skip to content
Snippets Groups Projects
Unverified Commit fbb0ec65 authored by Judy Hsiao's avatar Judy Hsiao Committed by Mark Brown
Browse files

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: 0ff9f8b9 ("ASoC: rockchip: i2s: Fix error code when fail to read I2S_CLR")
Signed-off-by: default avatarJudy Hsiao <judyhsiao@chromium.org>
Reviewed-by: default avatarBrian Norris <briannorris@chromium.org>
Link: https://lore.kernel.org/r/20220914031234.2250298-1-judyhsiao@chromium.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 3e9a8386
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment