]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
nvmem: qfprom: Improve the comment about regulator setting
authorDouglas Anderson <dianders@chromium.org>
Fri, 21 May 2021 21:00:58 +0000 (14:00 -0700)
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Fri, 28 May 2021 08:25:15 +0000 (09:25 +0100)
In review feedback Joe Perches found the existing comment
confusing. Let's use something based on the wording proposed by Joe.

Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
drivers/nvmem/qfprom.c

index 1ba666bcb900b0263d67544d293ce5bb1548a849..81fbad5e939df9aa6051d556f7d3f224626e6cbe 100644 (file)
@@ -196,9 +196,9 @@ static int qfprom_enable_fuse_blowing(const struct qfprom_priv *priv,
        }
 
        /*
-        * Hardware requires a min voltage for fuse blowing; this may be
-        * a rail shared do don't specify a max--regulator constraints
-        * will handle.
+        * Hardware requires a minimum voltage for fuse blowing.
+        * This may be a shared rail so don't specify a maximum.
+        * Regulator constraints will cap to the actual maximum.
         */
        ret = regulator_set_voltage(priv->vcc, qfprom_blow_uV, INT_MAX);
        if (ret) {