summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Hunter <jonathanh@nvidia.com>2026-04-01 16:34:41 +0300
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>2026-04-03 12:09:38 +0300
commit779ae2232cd1fd80661327e503606df004b4cda4 (patch)
tree085296f71b1894b7ca37e927fe6bc934697dabb8
parent802c51a83e9a0617d1e97ecd383471f4c6fd5437 (diff)
downloadlinux-779ae2232cd1fd80661327e503606df004b4cda4.tar.xz
gpiolib: Make deferral warnings debug messages
With the recent addition of the shared GPIO support, warning messages such as the following are being observed ... reg-fixed-voltage regulator-vdd-3v3-pcie: cannot find GPIO chip gpiolib_shared.proxy.6, deferring These are seen even with GPIO_SHARED_PROXY=y. Given that the GPIOs are successfully found a bit later during boot and the code is intentionally returning -EPROBE_DEFER when they are not found, downgrade these messages to debug prints to avoid unnecessary warnings being observed. Note that although the 'cannot find GPIO line' warning has not been observed in this case, it seems reasonable to make this print a debug print for consistency too. Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Link: https://patch.msgid.link/20260401133441.47641-1-jonathanh@nvidia.com Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
-rw-r--r--drivers/gpio/gpiolib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c
index 076b7cfe2a1c..55e5f37dba9a 100644
--- a/drivers/gpio/gpiolib.c
+++ b/drivers/gpio/gpiolib.c
@@ -4618,8 +4618,8 @@ static struct gpio_desc *gpio_desc_table_match(struct device *dev, const char *c
return desc;
}
- dev_warn(dev, "cannot find GPIO line %s, deferring\n",
- p->key);
+ dev_dbg(dev, "cannot find GPIO line %s, deferring\n",
+ p->key);
return ERR_PTR(-EPROBE_DEFER);
}
@@ -4633,8 +4633,8 @@ static struct gpio_desc *gpio_desc_table_match(struct device *dev, const char *c
* consumer be probed again or let the Deferred
* Probe infrastructure handle the error.
*/
- dev_warn(dev, "cannot find GPIO chip %s, deferring\n",
- p->key);
+ dev_dbg(dev, "cannot find GPIO chip %s, deferring\n",
+ p->key);
return ERR_PTR(-EPROBE_DEFER);
}