projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74fe030
)
mxc: fix wrong register access in timer code
author
Sascha Hauer
<s.hauer@pengutronix.de>
Wed, 29 Apr 2009 11:55:13 +0000
(13:55 +0200)
committer
Sascha Hauer
<s.hauer@pengutronix.de>
Thu, 7 May 2009 14:20:28 +0000
(16:20 +0200)
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/plat-mxc/time.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/plat-mxc/time.c
b/arch/arm/plat-mxc/time.c
index 85f002e7f1e55a39b55cb1f05d11e921f657fa7d..88fb3a57e0299fcf25c61f4ea054f09601b64efd 100644
(file)
--- a/
arch/arm/plat-mxc/time.c
+++ b/
arch/arm/plat-mxc/time.c
@@
-234,9
+234,9
@@
static irqreturn_t mxc_timer_interrupt(int irq, void *dev_id)
uint32_t tstat;
if (cpu_is_mx3())
- tstat = __raw_readl(timer_base + MX1_2_TSTAT);
- else
tstat = __raw_readl(timer_base + MX3_TSTAT);
+ else
+ tstat = __raw_readl(timer_base + MX1_2_TSTAT);
gpt_irq_acknowledge();