Will Deacon 6f3d90e556 ARM: 7685/1: delay: use private ticks_per_jiffy field for timer-based delay ops
Commit 70264367a243 ("ARM: 7653/2: do not scale loops_per_jiffy when
using a constant delay clock") fixed a problem with our timer-based
delay loop, where loops_per_jiffy is scaled by cpufreq yet used directly
by the timer delay ops.

This patch fixes the problem in a more elegant way by keeping a private
ticks_per_jiffy field in the delay ops, independent of loops_per_jiffy
and therefore not subject to scaling. The loop-based delay continues to
use loops_per_jiffy directly, as it should.

Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2013-04-03 16:45:50 +01:00
..
2013-02-21 14:58:40 -08:00
2012-07-05 13:06:32 +01:00
2012-10-02 08:58:07 +02:00
2012-03-28 18:30:01 +01:00
2012-03-28 18:30:01 +01:00
2012-03-28 18:30:01 +01:00
2012-03-28 18:30:01 +01:00
2012-03-28 18:30:01 +01:00
2012-12-20 10:07:25 -08:00
2012-07-05 09:50:55 +01:00
2009-03-15 21:01:20 -04:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2012-09-14 09:21:59 -05:00
2012-09-14 13:53:39 +00:00
2013-01-23 13:29:09 -05:00
2012-11-16 18:21:36 -08:00
2010-10-07 14:08:55 +01:00
2010-10-29 13:14:40 -05:00
2012-07-24 15:27:28 +08:00
2013-01-23 13:29:17 -05:00
2013-01-23 13:29:17 -05:00
2013-01-23 13:29:16 -05:00
2013-02-11 19:00:10 +00:00
2013-02-21 14:54:55 -08:00
2012-02-23 20:19:04 -07:00
2010-10-01 22:32:18 -04:00
2013-02-21 15:27:22 -08:00
2008-11-27 12:37:59 +00:00
2012-03-28 18:30:01 +01:00
2012-08-08 16:34:01 +00:00
2011-03-31 11:26:23 -03:00
2012-01-16 08:56:25 -06:00
2013-02-14 09:21:15 -05:00
2011-07-12 11:19:29 -05:00