mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
mxc: fix wrong register access in timer code
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
74fe030e63
commit
81ec1f929f
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue