/* megasas_clear_interrupt_gen2 - Check & clear interrupt @regs: MFI register set  */
static int megasas_clear_intr_gen2(struct megasas_register_set __iomem *regs)
/* megasas_clear_interrupt_gen2 - Check & clear interrupt @regs: MFI register set  */
static int megasas_clear_intr_gen2(struct megasas_register_set __iomem *regs)
{
	u32 status;
	status = readl(&regs->outbound_intr_status);
	if (!(status & MFI_GEN2_ENABLE_INTERRUPT_MASK))
		return 1;
	writel(status, &regs->outbound_doorbell_clear);
	readl(&regs->outbound_intr_status);
	return 0;
}