Merge tag 'rproc-v4.8' of git://github.com/andersson/remoteproc
[deliverable/linux.git] / drivers / regulator / tps65218-regulator.c
index 8eca1eb4f21979e9ca6a93a2624227d32139553d..d1e631d64a20aa34b991c817dc1bc93a6963d9e0 100644 (file)
@@ -180,8 +180,12 @@ static int tps65218_pmic_set_suspend_disable(struct regulator_dev *dev)
        if (rid < TPS65218_DCDC_1 || rid > TPS65218_LDO_1)
                return -EINVAL;
 
-       if (!tps->info[rid]->strobe)
-               return -EINVAL;
+       if (!tps->info[rid]->strobe) {
+               if (rid == TPS65218_DCDC_3)
+                       tps->info[rid]->strobe = 3;
+               else
+                       return -EINVAL;
+       }
 
        return tps65218_set_bits(tps, dev->desc->bypass_reg,
                                 dev->desc->bypass_mask,
This page took 0.03822 seconds and 5 git commands to generate.