summaryrefslogtreecommitdiffstats
path: root/drivers/nvmem
diff options
context:
space:
mode:
authorDouglas Anderson <dianders@chromium.org>2021-06-11 10:33:48 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-06-11 10:57:58 +0200
commit989f77e3fdee2e8f414dd1da9b6397d8763d414e (patch)
treeedd6c9acb698c2b0102d8c7ed28ed2186711098d /drivers/nvmem
parentnvmem: core: constify nvmem_cell_read_variable_common() return value (diff)
downloadlinux-989f77e3fdee2e8f414dd1da9b6397d8763d414e.tar.xz
linux-989f77e3fdee2e8f414dd1da9b6397d8763d414e.zip
nvmem: qfprom: Improve the comment about regulator setting
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> Link: https://lore.kernel.org/r/20210611083348.20170-10-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/nvmem')
-rw-r--r--drivers/nvmem/qfprom.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/nvmem/qfprom.c b/drivers/nvmem/qfprom.c
index 1ba666bcb900..81fbad5e939d 100644
--- a/drivers/nvmem/qfprom.c
+++ b/drivers/nvmem/qfprom.c
@@ -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) {