ide: move IRQ clearing from ack_intr() method to clear_irq() method (take 2)