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

Unverified Commit 901fc696 authored by yushixian's avatar yushixian Committed by Michael Bestas
Browse files

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

 &&&%%%comment:[FP4]:esim power stay up
 &&&%%%bug number:10872956
 &&&%%%product name:sm7225_r_fp4
 &&&%%%root cause:Specification
 &&&%%%Bug category:T2M
 &&&%%%Module_Impact:kernel
 &&&%%%Test_Suggestion:no
 &&&%%%Solution: modify power of esim
 &&&%%%Test_Report:ok
 &&&%%%VAL Can Test:no

Change-Id: Id380609bf86fafc7e7c2ca1b77b616b0c05af4fc
parent 403cf27d
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;
		}