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

Commit 7d4ac74f authored by Umang Agrawal's avatar Umang Agrawal
Browse files

power: smb1355: Disable SMB1355 on probe



Currently, we assume SMB1355 is configured in command control mode
by default. Fix this assumption by configuring SMB1355 to command
control mode on probe.

Change-Id: I357dc750724c264f52fd058a9f851b65df16a423
Signed-off-by: default avatarUmang Agrawal <uagrawal@codeaurora.org>
parent af92a3d1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1364,7 +1364,7 @@ static int smb1355_probe(struct platform_device *pdev)
	chip->c_charger_temp_max = -EINVAL;
	mutex_init(&chip->write_lock);
	INIT_DELAYED_WORK(&chip->die_temp_work, die_temp_work);
	chip->disabled = true;
	chip->disabled = false;
	chip->die_temp_deciDegC = -EINVAL;

	chip->regmap = dev_get_regmap(chip->dev->parent, NULL);