Lines 384-396
hdac_intr_handler(void *context)
Link Here
|
384 |
* re-examine GIS then we can leave it set and never get an interrupt |
384 |
* re-examine GIS then we can leave it set and never get an interrupt |
385 |
* again. |
385 |
* again. |
386 |
*/ |
386 |
*/ |
387 |
hdac_lock(sc); |
|
|
388 |
intsts = HDAC_READ_4(&sc->mem, HDAC_INTSTS); |
387 |
intsts = HDAC_READ_4(&sc->mem, HDAC_INTSTS); |
389 |
while (intsts != 0xffffffff && (intsts & HDAC_INTSTS_GIS) != 0) { |
388 |
while ((intsts & HDAC_INTSTS_GIS) != 0) { |
|
|
389 |
hdac_lock(sc); |
390 |
hdac_one_intr(sc, intsts); |
390 |
hdac_one_intr(sc, intsts); |
|
|
391 |
hdac_unlock(sc); |
391 |
intsts = HDAC_READ_4(&sc->mem, HDAC_INTSTS); |
392 |
intsts = HDAC_READ_4(&sc->mem, HDAC_INTSTS); |
392 |
} |
393 |
} |
393 |
hdac_unlock(sc); |
|
|
394 |
} |
394 |
} |
395 |
|
395 |
|
396 |
static void |
396 |
static void |