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
2017-03-06 07:54:55 +01:00
parent 0d31dccdee
commit a7cc0da94f
@@ -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