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

Commit b1e3702d authored by Umang Agrawal's avatar Umang Agrawal
Browse files

power: smb1390: Remove HW INOV control for SMB1390



Allow SW control of INOV if SMB1390 is present.

Change-Id: I11713d9e6ef5b81698dc858543d7155a131e9b2a
Signed-off-by: default avatarUmang Agrawal <uagrawal@codeaurora.org>
parent 993318c2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -378,7 +378,6 @@ static int smb1390_disable_vote_cb(struct votable *votable, void *data,
		if (rc < 0)
			return rc;

		vote(chip->hvdcp_hw_inov_dis_votable, CP_VOTER, false, 0);
		vote(chip->pl_disable_votable, CP_VOTER, false, 0);
	} else {
		vote(chip->hvdcp_hw_inov_dis_votable, CP_VOTER, true, 0);
@@ -791,6 +790,7 @@ static int smb1390_remove(struct platform_device *pdev)

	/* explicitly disable charging */
	vote(chip->disable_votable, USER_VOTER, true, 0);
	vote(chip->hvdcp_hw_inov_dis_votable, CP_VOTER, false, 0);
	cancel_work(&chip->taper_work);
	cancel_work(&chip->status_change_work);
	smb1390_destroy_votables(chip);