mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 01:28:59 +00:00
457cc59795
This allows cleanly backporting more recent stuff that's important for OpenWrt. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
34 lines
1.3 KiB
Diff
34 lines
1.3 KiB
Diff
From 989f77e3fdee2e8f414dd1da9b6397d8763d414e Mon Sep 17 00:00:00 2001
|
|
From: Douglas Anderson <dianders@chromium.org>
|
|
Date: Fri, 11 Jun 2021 09:33:48 +0100
|
|
Subject: [PATCH] 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>
|
|
---
|
|
drivers/nvmem/qfprom.c | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
--- a/drivers/nvmem/qfprom.c
|
|
+++ b/drivers/nvmem/qfprom.c
|
|
@@ -196,9 +196,9 @@ static int qfprom_enable_fuse_blowing(co
|
|
}
|
|
|
|
/*
|
|
- * 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) {
|