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

Commit 1ab88335 authored by Shiju Mathew's avatar Shiju Mathew
Browse files

power: bcl_peripheral: Configure BCL irq as non wakable



Remove configuring BCL irq as wakable. It is not required
since there is no mitigation need to be done in suspend.
All cores will be already in low power mode during suspend.
This will prevent unnecessary wakeup of system by BCL.

Change-Id: I78a512ec1c7dfb626159ba5be2577eded46d326e
Signed-off-by: default avatarShiju Mathew <shijum@codeaurora.org>
parent 3052bc2f
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -805,8 +805,6 @@ static int bcl_probe(struct spmi_device *spmi)
	if (ret) {
		dev_err(&spmi->dev, "Error requesting VBAT irq. err:%d", ret);
		goto bcl_probe_exit;
	} else {
		enable_irq_wake(bcl_perph->param[BCL_PARAM_VOLTAGE].irq_num);
	}
	ret = devm_request_irq(&spmi->dev,
			bcl_perph->param[BCL_PARAM_CURRENT].irq_num,
@@ -816,8 +814,6 @@ static int bcl_probe(struct spmi_device *spmi)
	if (ret) {
		dev_err(&spmi->dev, "Error requesting IBAT irq. err:%d", ret);
		goto bcl_probe_exit;
	} else {
		enable_irq_wake(bcl_perph->param[BCL_PARAM_CURRENT].irq_num);
	}

	dev_set_drvdata(&spmi->dev, bcl_perph);