[PATCH 1/4] pinctrl-uclass: update comment to reflect code

Philip Molloy philip at philipmolloy.com
Mon Jul 7 15:06:16 CEST 2025


From: Philip Molloy <philip.molloy at analog.com>

The logic was updated without modifying the comment above it

Fixes: 72b8c6d1ebf ("pinctrl: don't fall back to pinctrl_select_state_simple()")

Signed-off-by: Philip Molloy <philip.molloy at analog.com>
---
 drivers/pinctrl/pinctrl-uclass.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/pinctrl/pinctrl-uclass.c b/drivers/pinctrl/pinctrl-uclass.c
index d9c76898a96..58e070bfe1e 100644
--- a/drivers/pinctrl/pinctrl-uclass.c
+++ b/drivers/pinctrl/pinctrl-uclass.c
@@ -317,8 +317,7 @@ int pinctrl_select_state(struct udevice *dev, const char *statename)
 	if (!dev_has_ofnode(dev))
 		return 0;
 	/*
-	 * Try full-implemented pinctrl first.
-	 * If it fails or is not implemented, try simple one.
+	 * If full-implemented pinctrl is not implemented, try simple one.
 	 */
 	if (CONFIG_IS_ENABLED(PINCTRL_FULL))
 		return pinctrl_select_state_full(dev, statename);
-- 
2.50.0




More information about the U-Boot mailing list