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

Commit d359b5d2 authored by Alex Sarraf's avatar Alex Sarraf
Browse files

Revert "leds: leds-qpnp-wled: reset WLED enable register in wled probe"



This reverts commit commit fb7e4c49 ("leds: leds-qpnp-wled:
reset WLED enable register in wled probe") as it turns off
display before the splash screen appears.

Change-Id: If3bb8b659716cda213d774e3c4155da3ba6680d0
Signed-off-by: default avatarAlex Sarraf <asarraf@codeaurora.org>
parent 84bfeac2
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -1569,12 +1569,6 @@ static int qpnp_wled_probe(struct spmi_device *spmi)

	gwled = wled;

	rc = qpnp_wled_module_en(wled, wled->ctrl_base, false);
	if (rc) {
		dev_err(&spmi->dev, "wled disable failed(%d)\n", rc);
		return rc;
	}

	return 0;

sysfs_fail: