pinctrl-uclass: update comment to reflect code

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@analog.com>
This commit is contained in:
Philip Molloy 2025-07-07 13:06:16 +00:00 committed by Tom Rini
parent f1e5599241
commit b476530a84

View File

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