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 <peter.maydell@linaro.org> Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
This commit is contained in:
parent
7196345549
commit
7e36b264ce
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user