summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/max8973-regulator.c
diff options
context:
space:
mode:
authorLaxman Dewangan2015-07-01 15:01:42 +0200
committerMark Brown2015-07-07 15:42:20 +0200
commit127e10624232c5d605cad840d21af3b842541719 (patch)
treec1c8de2ca24a6785053f6b9898967eb27120e19b /drivers/regulator/max8973-regulator.c
parentLinux 4.2-rc1 (diff)
downloadkernel-qcow2-linux-127e10624232c5d605cad840d21af3b842541719.tar.gz
kernel-qcow2-linux-127e10624232c5d605cad840d21af3b842541719.tar.xz
kernel-qcow2-linux-127e10624232c5d605cad840d21af3b842541719.zip
regulator: max8973: Fix up control flag option for bias control
The control flag for the bias control is MAX8973_CONTROL_BIAS_ENABLE rather than MAX8973_BIAS_ENABLE which is macro for the bits in register. Fix this typo. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/max8973-regulator.c')
-rw-r--r--drivers/regulator/max8973-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/max8973-regulator.c b/drivers/regulator/max8973-regulator.c
index 6f2bdad8b4d8..e94ddcf97722 100644
--- a/drivers/regulator/max8973-regulator.c
+++ b/drivers/regulator/max8973-regulator.c
@@ -450,7 +450,7 @@ static struct max8973_regulator_platform_data *max8973_parse_dt(
pdata->control_flags |= MAX8973_CONTROL_FREQ_SHIFT_9PER_ENABLE;
if (of_property_read_bool(np, "maxim,enable-bias-control"))
- pdata->control_flags |= MAX8973_BIAS_ENABLE;
+ pdata->control_flags |= MAX8973_CONTROL_BIAS_ENABLE;
return pdata;
}