Loading drivers/regulator/msm_gfx_ldo.c +5 −3 Original line number Diff line number Diff line Loading @@ -365,9 +365,11 @@ static int msm_gfx_ldo_enable(struct regulator_dev *rdev) ldo_vreg->vreg_enabled = true; disable_cx: if (rc && ldo_vreg->vdd_cx) { rc = regulator_disable(ldo_vreg->vdd_cx); if (rc) pr_err("regulator_enable: vdd_cx: failed rc=%d\n", rc); } fail: mutex_unlock(&ldo_vreg->ldo_mutex); return rc; Loading Loading
drivers/regulator/msm_gfx_ldo.c +5 −3 Original line number Diff line number Diff line Loading @@ -365,9 +365,11 @@ static int msm_gfx_ldo_enable(struct regulator_dev *rdev) ldo_vreg->vreg_enabled = true; disable_cx: if (rc && ldo_vreg->vdd_cx) { rc = regulator_disable(ldo_vreg->vdd_cx); if (rc) pr_err("regulator_enable: vdd_cx: failed rc=%d\n", rc); } fail: mutex_unlock(&ldo_vreg->ldo_mutex); return rc; Loading