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

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

Merge "power: reset: qcom-dload-mode: Add dependency of scm in download driver"

parents aee747c5 d318948f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -316,6 +316,9 @@ static int qcom_dload_probe(struct platform_device *pdev)
	struct qcom_dload *poweroff;
	int ret;

	if (!qcom_scm_is_available())
		return -EPROBE_DEFER;

	poweroff = devm_kzalloc(&pdev->dev, sizeof(*poweroff), GFP_KERNEL);
	if (!poweroff)
		return -ENOMEM;