commit | 2b32d2f7ce0a54ce74a75f0d939b5ee063a05ec5 | [log] [tgz] |
---|---|---|
author | Dmitry Osipenko <digetx@gmail.com> | Sun Aug 30 21:53:52 2020 +0300 |
committer | Mark Brown <broonie@kernel.org> | Tue Sep 01 14:54:52 2020 +0100 |
tree | 8fdbb0d7a7f9fea4c4a1d5a6b01f5978da3c8c93 | |
parent | 7f9fb67358a2bcaacbdfeee12e0f19e98c8bdf55 [diff] |
regmap: Use flexible sleep The multi-reg write function uses udelay(), which is a busy-loop based delaying function that is not suitable for a long delays. Hence let's replace the udelay() with fsleep(), which is flexible sleep function that selects best delay function based on the delay-time. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Link: https://lore.kernel.org/r/20200830185356.5365-3-digetx@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>