genirq: check chip->ack before calling