From d52ef3aa9884cc758c26e5392c1c7272fcbab246 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Sat, 17 Sep 2011 19:51:49 +0100 Subject: [PATCH] hw/omap_gpmc: Modify correct field when writing IRQSTATUS register Writing to IRQSTATUS should affect irqst, not irqen -- error spotted by Andrzej Zaborowski. Signed-off-by: Peter Maydell Signed-off-by: Andrzej Zaborowski --- hw/omap_gpmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/omap_gpmc.c b/hw/omap_gpmc.c index e27b93c..7fc82a2 100644 --- a/hw/omap_gpmc.c +++ b/hw/omap_gpmc.c @@ -639,7 +639,7 @@ static void omap_gpmc_write(void *opaque, target_phys_addr_t addr, break; case 0x018: /* GPMC_IRQSTATUS */ - s->irqen &= ~value; + s->irqst &= ~value; omap_gpmc_int_update(s); break; -- 2.7.4