aboutsummaryrefslogtreecommitdiff
path: root/hw/omap.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/omap.c')
-rw-r--r--hw/omap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/omap.c b/hw/omap.c
index 9c0e570aea..f8c2073da9 100644
--- a/hw/omap.c
+++ b/hw/omap.c
@@ -2882,7 +2882,9 @@ static uint32_t omap_mpuio_read(void *opaque, target_phys_addr_t addr)
case 0x24: /* GPIO_INT */
ret = s->ints;
- s->ints &= ~s->mask;
+ s->ints &= s->mask;
+ if (ret)
+ qemu_irq_lower(s->irq);
return ret;
case 0x28: /* KBD_MASKIT */