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

Commit f50cb5eb authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "rtc: control default alarm wake up capability"

parents c2dc7c0e 268f4b8f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -546,6 +546,9 @@ static int pm8xxx_rtc_probe(struct platform_device *pdev)
		return rc;
	}

	if (of_property_read_bool(pdev->dev.of_node, "disable-alarm-wakeup"))
		device_set_wakeup_capable(&pdev->dev, false);

	dev_dbg(&pdev->dev, "Probe success !!\n");

	return 0;