leon, grspw_pkt: fix stscfg cfg TimeCode Int clr

Without this patch time code interrupts was never cleared
in the STATUS register.
This commit is contained in:
Daniel Hellstrom
2016-04-08 14:03:47 +02:00
parent 0d31dccdee
commit a7cc0da94f

View File

@@ -2666,7 +2666,8 @@ STATIC void grspw_isr(void *data)
/* Get Status from Hardware */
stat = REG_READ(&priv->regs->status);
stat_clrmsk = stat & (GRSPW_STS_TO | GRSPW_STAT_ERROR) & priv->stscfg;
stat_clrmsk = stat & (GRSPW_STS_TO | GRSPW_STAT_ERROR) &
(GRSPW_STS_TO | priv->stscfg);
/* Make sure to put the timecode handling first in order to get the
* smallest possible interrupt latency