]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: OMAP2+: fix wrong address when loading PRM_FRAC_INCREMENTOR_DENUMERATOR_RELOAD
authorChen Baozi <baozich@gmail.com>
Wed, 7 Aug 2013 14:05:21 +0000 (22:05 +0800)
committerTony Lindgren <tony@atomide.com>
Wed, 21 Aug 2013 08:02:32 +0000 (01:02 -0700)
commit42c604ba7c1cbe0be005d473262b91824e920682
tree645d3493f9e8a7338d3ba591b8c5840f3346d9b1
parent56cab60600af315b9cbe0be0990a3a86869101c4
ARM: OMAP2+: fix wrong address when loading PRM_FRAC_INCREMENTOR_DENUMERATOR_RELOAD

The denominator should be load from INCREMENTOR_DENUMERATOR_RELOAD_OFFSET
rather than INCREMENTER_NUMERATOR_OFFSET.

This is more likely a typo, since INCREMENTER_DENUMERATOR_RELOAD[23:17] is
reserved. It seems that it won't make much trouble without this fix, because
the useful [11:0] bits are mask and set the right value. Anyway, reading
from a right address is better choice.

Signed-off-by: Chen Baozi <baozich@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/timer.c