summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/pinctrl-uclass.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-12-27 07:50:24 -0500
committerTom Rini <trini@konsulko.com>2018-12-27 07:50:24 -0500
commitb47b3810379aaf6d336151acda66c2a29fc8b657 (patch)
tree15364a84e350a1a71ead52ead1b313a6dad2a3a5 /drivers/pinctrl/pinctrl-uclass.c
parent562a63e86bc7b308a328a7bbdf0db237855c39a8 (diff)
parente17e0ceb83538c015a50b965547f2f4d38f81c5d (diff)
Merge branch '2018-12-26-master-imports'
- Misc TI platform fixes - mt7629 fix for Linux compatible SMP support - Other small regression fixes
Diffstat (limited to 'drivers/pinctrl/pinctrl-uclass.c')
-rw-r--r--drivers/pinctrl/pinctrl-uclass.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pinctrl/pinctrl-uclass.c b/drivers/pinctrl/pinctrl-uclass.c
index 6db0445067..29c910c55f 100644
--- a/drivers/pinctrl/pinctrl-uclass.c
+++ b/drivers/pinctrl/pinctrl-uclass.c
@@ -117,9 +117,9 @@ static int pinconfig_post_bind(struct udevice *dev)
int ret;
dev_for_each_subnode(node, dev) {
- if (pre_reloc_only &&
- !ofnode_pre_reloc(node))
+ if (pre_reloc_only ^ ofnode_pre_reloc(node))
continue;
+
/*
* If this node has "compatible" property, this is not
* a pin configuration node, but a normal device. skip.