Skip to content
Commit c942081c authored by Nicholas Mc Guire's avatar Nicholas Mc Guire Committed by Stephen Boyd
Browse files

clk: ux500: add range to usleep_range



Providing a range for usleep_range() allows the hrtimer subsystem to
coalesce timers - the delay is runtime configurable so a factor 2
is taken to provide the range. With the expected range for
enable_delay_us being milliseconds, the range should lie in the 250us
range which is sufficient for hrtimer optimization.

Signed-off-by: default avatarNicholas Mc Guire <hofrat@opentech.at>
Acked-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent b331db55
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment