]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
clocksource: qcom: Implement read_current_timer for udelay
authorStephen Boyd <sboyd@codeaurora.org>
Tue, 13 May 2014 23:01:00 +0000 (16:01 -0700)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 19 May 2014 09:30:11 +0000 (11:30 +0200)
commit013be5adf5cd6e6d58eb72f3bb0137a78be152c8
tree944758bb49bb291d6fec0a945f37bcaaa1a7419e
parent3f04e3d3eb77ac9df70619b9c87da71b0eeddc36
clocksource: qcom: Implement read_current_timer for udelay

Setup the same timer used as the clocksource to be used as the
read_current_timer implementation. This allows us to support a
stable udelay implementation on MSMs where it's possible for the
CPUs to scale speeds independently of one another.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/qcom-timer.c