clk: clk-gpio: do not blame the DT property on probe deferral

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>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patch.msgid.link/20260930114907.153690-1-francesco@dolcini.it
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Brian Masney <bmasney@redhat.com>
This commit is contained in:
Francesco Dolcini 2026-09-30 13:49:06 +02:00 committed by Brian Masney
parent d19f9c0dac
commit 602aba4a39

View File

@ -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);