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

Commit e4bb6b0e authored by Abhijeet Dharmapurikar's avatar Abhijeet Dharmapurikar
Browse files

battery: remove 20ms delay for running AICL



The driver waits 20mS after setting ICL to a step lower
than settled value before increasing it back to the effective
value. That 20mS delay is not required and causes PR_SWAP compliance
tests to fail. Remove it.

Change-Id: I8bd43a885c554df3590499ddf2a219e816e28734
Signed-off-by: default avatarAbhijeet Dharmapurikar <adharmap@codeaurora.org>
parent e3ca3ef7
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -550,8 +550,6 @@ static int usb_icl_vote_callback(struct votable *votable, void *data,
		power_supply_set_property(chip->main_psy,
				POWER_SUPPLY_PROP_CURRENT_MAX,
				&pval);
		/* wait for ICL change */
		msleep(20);
	}

	/* set the effective ICL */