Skip to content

Commit

Permalink
regulator: tps65218: Fix strobe assignment
Browse files Browse the repository at this point in the history
Currentlly tps_info structure is no longer used. So use the
strobes parameter in tps65218 structure to capture the info.

Fixes: 2dc4940 (regulator: tps65218: Remove all the compatibles)
Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Keerthy authored and Mark Brown committed Nov 10, 2017
1 parent 2bd6bf0 commit efeb88c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/regulator/tps65218-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit efeb88c

Please sign in to comment.