提交 81ec1f92 编写于 作者: S Sascha Hauer

mxc: fix wrong register access in timer code

Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
上级 74fe030e
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册