audiohda: reset irbsts bits in hdainterrupt() (thanks LordCreepity)

reseting irbsts bits in hdacmd() only works
while interrupts are disabled during hdareset().
once interrupts are enabled we need to reset the
irbsts bits in the interrupt handler or else the
interrupt never clears and locks up the system.
front
cinap_lenrek 2020-11-11 00:55:53 +01:00
parent e543995bba
commit 0c846e605b
1 changed files with 3 additions and 0 deletions

View File

@ -1577,6 +1577,9 @@ hdainterrupt(Ureg *, void *arg)
}
wakeup(&r->r);
}
if(sts & Cis){
csr8(ctlr, Rirbsts) = Rirbrover|Rirbrint;
}
iunlock(ctlr);
}