summaryrefslogtreecommitdiff
path: root/arch/c6x/include
diff options
context:
space:
mode:
authorMark Salter <msalter@redhat.com>2011-11-05 18:57:40 +0400
committerMark Salter <msalter@redhat.com>2012-01-09 00:12:17 +0400
commit25b48ff852e2e71b0d44d8ee6f69c9b704bd5070 (patch)
treeee48a9e41d4cdeffcbb68b50261576887357e7a2 /arch/c6x/include
parent4a059ff3a9a8bd4ee78e3b89721b698ddb43d385 (diff)
downloadlinux-25b48ff852e2e71b0d44d8ee6f69c9b704bd5070.tar.xz
C6X: fix timer64 initialization
Some SoCs have a timer block enable controlled through the DSCR registers. There is a problem in the timer64 driver initialization where the code accesses a timer register to get the divisor used to calculate timer clock rate. If the timer block has not been enabled when this register read takes place, an exception is generated. This patch makes sure that the timer block is enabled before accessing the registers. Signed-off-by: Mark Salter <msalter@redhat.com>
Diffstat (limited to 'arch/c6x/include')
0 files changed, 0 insertions, 0 deletions