tdc: fix reading IRQ register

Signed-off-by: Samuel Iglesias Gonsálvez's avatarSamuel Iglesias Gonsálvez <siglesias@igalia.com>
parent 721c29b1
......@@ -167,7 +167,7 @@ irqreturn_t tdc_fmc_irq_handler(int irq, void *dev_id)
u32 irq_code;
/* Check the source of the interrupt */
irq_code = readl(fmc->base + TDC_IRQ_CODE_R);
irq_code = readl(fmc->base + TDC_IRQ_REG);
/* Tstamp threshold or time threshold */
if((irq_code & TDC_IRQ_TDC_TSTAMP) ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment