mirror of
https://git.proxmox.com/git/qemu
synced 2025-08-08 04:15:36 +00:00
Correct my 'thinko' in OMAP interrupt handler commit, fix by Lauro Ramos Venancio.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3775 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
106627d0a0
commit
f2df526058
@ -198,7 +198,7 @@ static uint32_t omap_inth_read(void *opaque, target_phys_addr_t addr)
|
|||||||
i = line_no & 31;
|
i = line_no & 31;
|
||||||
if (((bank->sens_edge >> i) & 1) == INT_FALLING_EDGE)
|
if (((bank->sens_edge >> i) & 1) == INT_FALLING_EDGE)
|
||||||
bank->irqs &= ~(1 << i);
|
bank->irqs &= ~(1 << i);
|
||||||
return i;
|
return line_no;
|
||||||
|
|
||||||
case 0x18: /* CONTROL_REG */
|
case 0x18: /* CONTROL_REG */
|
||||||
if (bank_no != 0)
|
if (bank_no != 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user