commit | 9115b4d89b213dc73fd35844e0199b1763f751d6 | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert+renesas@glider.be> | Tue Apr 02 16:40:22 2019 +0200 |
committer | Mark Brown <broonie@kernel.org> | Wed Apr 03 11:32:26 2019 +0700 |
tree | c32b3e9408185a955106cb9b67a00c7d45bbf078 | |
parent | 8863eca8c46affaa91ae35390b00358b925483eb [diff] |
spi: sh-msiof: Use readl_poll_timeout_atomic() instead of open-coding Replace the open-coded loop in sh_msiof_modify_ctr_wait() by a call to the readl_poll_timeout_atomic() helper macro. Suggested-by: Wolfram Sang <wsa@the-dreams.de> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Mark Brown <broonie@kernel.org>