mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/3] regulator: max8973: Fix up control flag option for bias control
@ 2015-07-01 13:01 Laxman Dewangan
  2015-07-01 13:01 ` [PATCH 2/3] regulator: max8973: add support to configure ETR from DT Laxman Dewangan
  2015-07-01 13:01 ` [PATCH 3/3] regulator: max8973: add support to configure ETR based on rail load Laxman Dewangan
  0 siblings, 2 replies; 3+ messages in thread
From: Laxman Dewangan @ 2015-07-01 13:01 UTC (permalink / raw)
  To: broonie, lgirdwood, robh+dt, pawel.moll, mark.rutland, galak
  Cc: devicetree, linux-kernel, Laxman Dewangan

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>
---
 drivers/regulator/max8973-regulator.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/regulator/max8973-regulator.c b/drivers/regulator/max8973-regulator.c
index 6f2bdad..e94ddcf 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;
 }
-- 
2.1.4


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-07-01 13:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-01 13:01 [PATCH 1/3] regulator: max8973: Fix up control flag option for bias control Laxman Dewangan
2015-07-01 13:01 ` [PATCH 2/3] regulator: max8973: add support to configure ETR from DT Laxman Dewangan
2015-07-01 13:01 ` [PATCH 3/3] regulator: max8973: add support to configure ETR based on rail load Laxman Dewangan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®