mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-22 09:22:37 +00: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
@ -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 New Issue
Block a user