]> Git Repo - linux.git/commitdiff
regulator: max8973: Fix up control flag option for bias control
authorLaxman Dewangan <[email protected]>
Wed, 1 Jul 2015 13:01:42 +0000 (18:31 +0530)
committerMark Brown <[email protected]>
Tue, 7 Jul 2015 13:42:20 +0000 (14:42 +0100)
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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
drivers/regulator/max8973-regulator.c

index 6f2bdad8b4d8fd6ce2e552d4c44c8cf4a3ee60ba..e94ddcf97722331e3cdde0645697169a35ba8c12 100644 (file)
@@ -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;
 }
This page took 0.058705 seconds and 4 git commands to generate.