mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 22:32:43 -04:00
rk_i2s: change interrupt type from MISC to AV (audio/video)
This gives a higher priority to the interrupt handling thread. We need it because its work (filling the hardware FIFO) is time sensitive.
This commit is contained in:
parent
408a9efd75
commit
406e959d07
1 changed files with 1 additions and 1 deletions
|
|
@ -544,7 +544,7 @@ rk_i2s_dai_setup_intr(device_t dev, driver_intr_t intr_handler, void *intr_arg)
|
|||
struct rk_i2s_softc *sc = device_get_softc(dev);
|
||||
|
||||
if (bus_setup_intr(dev, sc->res[1],
|
||||
INTR_TYPE_MISC | INTR_MPSAFE, NULL, intr_handler, intr_arg,
|
||||
INTR_TYPE_AV | INTR_MPSAFE, NULL, intr_handler, intr_arg,
|
||||
&sc->intrhand)) {
|
||||
device_printf(dev, "cannot setup interrupt handler\n");
|
||||
return (ENXIO);
|
||||
|
|
|
|||
Loading…
Reference in a new issue