diff mbox

[2/2] regulators: TPS65218: Correct the the config register for LDO1

Message ID 1403104668-32316-2-git-send-email-balbi@ti.com
State New
Headers show

Commit Message

Felipe Balbi June 18, 2014, 3:17 p.m. UTC
From: Keerthy <j-keerthy@ti.com>

Correct the the config register for LDO1.

Cc: <stable@vger.kernel.org> # v3.15
Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
---
 drivers/regulator/tps65218-regulator.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Nishanth Menon June 18, 2014, 3:29 p.m. UTC | #1
nit pick:
s/regulators: TPS65218:/regulators: tps65218:/

On 06/18/2014 10:17 AM, Felipe Balbi wrote:
> From: Keerthy <j-keerthy@ti.com>
> 
> Correct the the config register for LDO1.
> 
> Cc: <stable@vger.kernel.org> # v3.15
Fixes: 90e7d5262796 (regulator: tps65218: Add Regulator driver for
TPS65218 PMIC)
?

> Signed-off-by: Keerthy <j-keerthy@ti.com>
> Signed-off-by: Felipe Balbi <balbi@ti.com>
> ---
>  drivers/regulator/tps65218-regulator.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/regulator/tps65218-regulator.c b/drivers/regulator/tps65218-regulator.c
> index edbc46e..9effe48 100644
> --- a/drivers/regulator/tps65218-regulator.c
> +++ b/drivers/regulator/tps65218-regulator.c
> @@ -209,7 +209,7 @@ static const struct regulator_desc regulators[] = {
>  			   1, -1, -1, TPS65218_REG_ENABLE1,
>  			   TPS65218_ENABLE1_DC6_EN, NULL, NULL, 0, 0),
>  	TPS65218_REGULATOR("LDO1", TPS65218_LDO_1, tps65218_ldo1_dcdc34_ops, 64,
> -			   TPS65218_REG_CONTROL_DCDC4,
> +			   TPS65218_REG_CONTROL_LDO1,
>  			   TPS65218_CONTROL_LDO1_MASK, TPS65218_REG_ENABLE2,
>  			   TPS65218_ENABLE2_LDO1_EN, NULL, ldo1_dcdc3_ranges,
>  			   2, 0),
> 
otherwise,
Acked-by: Nishanth Menon <nm@ti.com>
diff mbox

Patch

diff --git a/drivers/regulator/tps65218-regulator.c b/drivers/regulator/tps65218-regulator.c
index edbc46e..9effe48 100644
--- a/drivers/regulator/tps65218-regulator.c
+++ b/drivers/regulator/tps65218-regulator.c
@@ -209,7 +209,7 @@  static const struct regulator_desc regulators[] = {
 			   1, -1, -1, TPS65218_REG_ENABLE1,
 			   TPS65218_ENABLE1_DC6_EN, NULL, NULL, 0, 0),
 	TPS65218_REGULATOR("LDO1", TPS65218_LDO_1, tps65218_ldo1_dcdc34_ops, 64,
-			   TPS65218_REG_CONTROL_DCDC4,
+			   TPS65218_REG_CONTROL_LDO1,
 			   TPS65218_CONTROL_LDO1_MASK, TPS65218_REG_ENABLE2,
 			   TPS65218_ENABLE2_LDO1_EN, NULL, ldo1_dcdc3_ranges,
 			   2, 0),