kernel: backport of_request_module()
[openwrt/openwrt.git] / target / linux / generic / backport-5.10 / 804-v5.14-0006-nvmem-qfprom-Improve-the-comment-about-regulator-set.patch
1 From 989f77e3fdee2e8f414dd1da9b6397d8763d414e Mon Sep 17 00:00:00 2001
2 From: Douglas Anderson <dianders@chromium.org>
3 Date: Fri, 11 Jun 2021 09:33:48 +0100
4 Subject: [PATCH] nvmem: qfprom: Improve the comment about regulator setting
5
6 In review feedback Joe Perches found the existing comment
7 confusing. Let's use something based on the wording proposed by Joe.
8
9 Suggested-by: Joe Perches <joe@perches.com>
10 Signed-off-by: Douglas Anderson <dianders@chromium.org>
11 Reviewed-by: Stephen Boyd <swboyd@chromium.org>
12 Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
13 Link: https://lore.kernel.org/r/20210611083348.20170-10-srinivas.kandagatla@linaro.org
14 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
15 ---
16 drivers/nvmem/qfprom.c | 6 +++---
17 1 file changed, 3 insertions(+), 3 deletions(-)
18
19 --- a/drivers/nvmem/qfprom.c
20 +++ b/drivers/nvmem/qfprom.c
21 @@ -196,9 +196,9 @@ static int qfprom_enable_fuse_blowing(co
22 }
23
24 /*
25 - * Hardware requires a min voltage for fuse blowing; this may be
26 - * a rail shared do don't specify a max--regulator constraints
27 - * will handle.
28 + * Hardware requires a minimum voltage for fuse blowing.
29 + * This may be a shared rail so don't specify a maximum.
30 + * Regulator constraints will cap to the actual maximum.
31 */
32 ret = regulator_set_voltage(priv->vcc, qfprom_blow_uV, INT_MAX);
33 if (ret) {