v4l2: add imx219 support
[platform/kernel/linux-starfive.git] / drivers / edac / qcom_edac.c
index 82bd775..97a27e4 100644 (file)
@@ -292,7 +292,6 @@ llcc_ecc_irq_handler(int irq, void *edev_ctl)
        struct llcc_drv_data *drv = edac_dev_ctl->pvt_info;
        irqreturn_t irq_rc = IRQ_NONE;
        u32 drp_error, trp_error, i;
-       bool irq_handled;
        int ret;
 
        /* Iterate over the banks and look for Tag RAM or Data RAM errors */
@@ -311,7 +310,7 @@ llcc_ecc_irq_handler(int irq, void *edev_ctl)
                        ret = dump_syn_reg(edev_ctl, LLCC_DRAM_UE, i);
                }
                if (!ret)
-                       irq_handled = true;
+                       irq_rc = IRQ_HANDLED;
 
                ret = regmap_read(drv->regmap,
                                  drv->offsets[i] + TRP_INTERRUPT_0_STATUS,
@@ -327,12 +326,9 @@ llcc_ecc_irq_handler(int irq, void *edev_ctl)
                        ret = dump_syn_reg(edev_ctl, LLCC_TRAM_UE, i);
                }
                if (!ret)
-                       irq_handled = true;
+                       irq_rc = IRQ_HANDLED;
        }
 
-       if (irq_handled)
-               irq_rc = IRQ_HANDLED;
-
        return irq_rc;
 }