From: Axel Lin Date: Fri, 19 Apr 2013 12:33:45 +0000 (+0800) Subject: regulator: palmas: Add missing ctrl_addr setting for SMPS10 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e31089c608ae8fa323c5f9c3a2fa208d25e052a6;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git regulator: palmas: Add missing ctrl_addr setting for SMPS10 The ctrl_addr setting for SMPS10 is missed, thus palmas_smps_init() read/write wrong register for SMPS10 in current code. Fix it. Signed-off-by: Axel Lin Acked-by: Laxman Dewangan Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/palmas-regulator.c b/drivers/regulator/palmas-regulator.c index a74106322604..552ed514ba25 100644 --- a/drivers/regulator/palmas-regulator.c +++ b/drivers/regulator/palmas-regulator.c @@ -98,6 +98,7 @@ static const struct regs_info palmas_regs_info[] = { { .name = "SMPS10", .sname = "smps10-in", + .ctrl_addr = PALMAS_SMPS10_CTRL, }, { .name = "LDO1",