summaryrefslogtreecommitdiff
path: root/arch/arm/lib/io-readsl.S
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2015-04-13 12:36:04 +0300
committerRussell King <rmk+kernel@arm.linux.org.uk>2015-04-15 00:28:07 +0300
commit57ca654bef6c43bbbccfb2d231fd245d3f67dd46 (patch)
tree5c76973e14228695f742c71a33d87b7b9f916149 /arch/arm/lib/io-readsl.S
parent37463be8658ae5fba153f4029ca3ec3f8a64fd51 (diff)
downloadlinux-57ca654bef6c43bbbccfb2d231fd245d3f67dd46.tar.xz
ARM: ensure delay timer has sufficient accuracy for delays
We have recently had an example of someone wanting to use a 90kHz timer for the software delay loop. udelay() needs to have at least microsecond resolution to allow drivers access to a delay mechanism with a reasonable chance of delaying the period they requested within at least a 50% marging of error, especially for small delays. Discussion about the udelay() accuracy can be found at: https://lkml.org/lkml/2011/1/9/37 Reject timers which are unable to supply this level of resolution. Acked-by: Nicolas Pitre <nico@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/lib/io-readsl.S')
0 files changed, 0 insertions, 0 deletions