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

Unverified Commit d28f79ab authored by Rui TANG's avatar Rui TANG Committed by Michael Bestas
Browse files

Revert "Revert "[ALM:10872956] [FP4]:esim power stay up""

This reverts commit 97a0b082.

Change-Id: I1b801ac07681588c14c43048f3fa0f406b6b65a7
parent afcac3df
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -17,11 +17,11 @@ static ssize_t esim_power_store(struct class *class,
	int ret = 0;

	if ((!strncmp(buf,"1",1))) {
	    ret = regulator_set_voltage(regulator_l5e, 1810000, 1810000); 
	    ret = regulator_enable(regulator_l5e); 
		   regulator_status = 1;
		}
	else {
	    ret = regulator_set_voltage(regulator_l5e, 0, 0); 
	    ret = regulator_enable(regulator_l5e); 
		   regulator_status = 0;
		}