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

Commit fe4fe7b9 authored by Anirudh Ghayal's avatar Anirudh Ghayal Committed by Umang Agrawal
Browse files

power: smb1355-charger: Vote to keep the IRQs disabled initially



Add an initial vote to keep the IRQs disabled to avoid an
unbalanced IRQ.

Change-Id: Iaa19d25d0ee94f32928fe937c16263e3fffddd92
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent df1b56ff
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1249,6 +1249,8 @@ static int smb1355_probe(struct platform_device *pdev)
		rc = PTR_ERR(chip->irq_disable_votable);
		goto cleanup;
	}
	/* keep IRQ's disabled until parallel is enabled */
	vote(chip->irq_disable_votable, PARALLEL_ENABLE_VOTER, true, 0);

	pr_info("%s probed successfully pl_mode=%s batfet_mode=%s\n",
		chip->name,