diff options
author | Konrad Dybcio <konrad.dybcio@linaro.org> | 2023-07-28 10:57:38 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-09-19 13:20:14 +0300 |
commit | 344c16a8441e3647d749d3089e8cf7f4d66ba9f9 (patch) | |
tree | fe80c9f3f86e0a34a265d0f13ce5a0e53e161588 /drivers/clk/clk-tango4.c | |
parent | 289f5a88f14aeb2cdd2d2180b8569c330edc18bb (diff) | |
download | linux-344c16a8441e3647d749d3089e8cf7f4d66ba9f9.tar.xz |
clk: qcom: reset: Use the correct type of sleep/delay based on length
[ Upstream commit 181b66ee7cdd824797fc99b53bec29cf5630a04f ]
Use the fsleep() helper that (based on the length of the delay, see: [1])
chooses the correct sleep/delay functions.
[1] https://www.kernel.org/doc/Documentation/timers/timers-howto.txt
Fixes: 2cb8a39b6781 ("clk: qcom: reset: Allow specifying custom reset delay")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230726-topic-qcom_reset-v3-1-5958facd5db2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/clk/clk-tango4.c')
0 files changed, 0 insertions, 0 deletions