mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] clk: clk-gpio: do not blame the DT property on probe deferral
@ 2026-09-30 11:49 Francesco Dolcini
  2026-09-30 12:24 ` Heiko Stübner
  0 siblings, 1 reply; 2+ messages in thread
From: Francesco Dolcini @ 2026-09-30 11:49 UTC (permalink / raw)
  To: Stephen Boyd, Brian Masney, Jerome Brunet
  Cc: Francesco Dolcini, linux-clk, linux-kernel, Heiko Stuebner

From: Francesco Dolcini <francesco.dolcini@toradex.com>

The message is also stored as the probe deferral reason, where it wrongly
claims the 'enable'/'select' property is missing while it is the GPIO
provider that has not probed (yet?).

Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
---
 drivers/clk/clk-gpio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/clk-gpio.c b/drivers/clk/clk-gpio.c
index 9099c57e2715..918b2c6444ee 100644
--- a/drivers/clk/clk-gpio.c
+++ b/drivers/clk/clk-gpio.c
@@ -214,7 +214,7 @@ static int gpio_clk_driver_probe(struct platform_device *pdev)
 	gpiod = devm_gpiod_get(dev, gpio_name, GPIOD_OUT_LOW);
 	if (IS_ERR(gpiod))
 		return dev_err_probe(dev, PTR_ERR(gpiod),
-				     "Can't get '%s' named GPIO property\n", gpio_name);
+				     "Can't get '%s' GPIO\n", gpio_name);
 
 	if (is_mux)
 		hw = clk_hw_register_gpio_mux(dev, gpiod);
-- 
2.47.3


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-30 12:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-30 11:49 [PATCH] clk: clk-gpio: do not blame the DT property on probe deferral Francesco Dolcini
2026-09-30 12:24 ` Heiko Stübner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®