Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 401f6ee6 authored by Rishabh Bhatnagar's avatar Rishabh Bhatnagar Committed by Gerrit - the friendly Code Review server
Browse files

drivers: edac: Avoid configuring interrupt register in polling mode



Interrupt enable register configuration is only needed for
interrupt mode, So avoid interrupt configuration
in the polling mode.

Change-Id: I0cb9f50573deb580254aebceeee3883d98f6ff85
Signed-off-by: default avatarRishabh Bhatnagar <rishabhb@codeaurora.org>
Signed-off-by: default avatarPrakruthi Deepak Heragu <pheragu@codeaurora.org>
parent 06c03f1e
Loading
Loading
Loading
Loading
+5 −7
Original line number Diff line number Diff line
@@ -469,13 +469,11 @@ int qcom_llcc_probe(struct platform_device *pdev,
	}

	drv_data->ecc_irq = platform_get_irq(pdev, 0);
	if (drv_data->ecc_irq >= 0) {
	llcc_edac = platform_device_register_data(&pdev->dev,
					"qcom_llcc_edac", -1, drv_data,
					sizeof(*drv_data));
	if (IS_ERR(llcc_edac))
		dev_err(dev, "Failed to register llcc edac driver\n");
	}

	llcc_perfmon = platform_device_register_data(&pdev->dev,
					"qcom_llcc_perfmon", -1,