mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-12-24 02:42:18 +01:00
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:
parent
f1e5599241
commit
b476530a84
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user