diff options
author | Nicolas Pitre <[email protected]> | 2013-02-18 16:36:13 +0100 |
---|---|---|
committer | Russell King <[email protected]> | 2013-02-21 13:25:36 +0000 |
commit | 70264367a243a68b1d5636ffb570183449803cbe (patch) | |
tree | d5ab3e7434c916f97b2e22fee6dd48c7cc9c416c /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | 7c4e9ced424be4d36df6a3e3825763e97ee97607 (diff) |
ARM: 7653/2: do not scale loops_per_jiffy when using a constant delay clock
When udelay() is implemented using an architected timer, it is wrong
to scale loops_per_jiffy when changing the CPU clock frequency since
the timer clock remains constant.
The lpj should probably become an implementation detail relevant to
the CPU loop based delay routine only and more confined to it. In the
mean time this is the minimal fix needed to have expected delays with
the timer based implementation when cpufreq is also in use.
Reported-by: Viresh Kumar <[email protected]>
Signed-off-by: Nicolas Pitre <[email protected]>
Tested-by: Viresh Kumar <[email protected]>
Acked-by: Liviu Dudau <[email protected]>
Cc: [email protected]
Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions