Clear interrupt before executing the interrupt handler as we otherwise
authorpatrick <patrick@openbsd.org>
Fri, 19 May 2023 20:54:55 +0000 (20:54 +0000)
committerpatrick <patrick@openbsd.org>
Fri, 19 May 2023 20:54:55 +0000 (20:54 +0000)
commitee534da32b68a1e05622d68919fc8f66e7090217
treee9773c4550203e5273caedb35682dd4fdf541b8b
parentb22a9f753ad50d507d7bcf908d5f76bdc4474722
Clear interrupt before executing the interrupt handler as we otherwise
risk losing an interrupt for the same pin.  This can happen when a second
interrupt occurs between the interrupt handler's execution and us clearing
the interrupt.

ok kettenis@
sys/dev/fdt/qcipcc.c