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

Unverified Commit efeb88c6 authored by Keerthy's avatar Keerthy Committed by Mark Brown
Browse files

regulator: tps65218: Fix strobe assignment



Currentlly tps_info structure is no longer used. So use the
strobes parameter in tps65218 structure to capture the info.

Fixes: 2dc49403 (regulator: tps65218: Remove all the compatibles)
Signed-off-by: default avatarKeerthy <j-keerthy@ti.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 2bd6bf03
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -154,7 +154,7 @@ static int tps65218_pmic_set_suspend_disable(struct regulator_dev *dev)

	if (!tps->strobes[rid]) {
		if (rid == TPS65218_DCDC_3)
			tps->info[rid]->strobe = 3;
			tps->strobes[rid] = 3;
		else
			return -EINVAL;
	}