Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 350480
b: refs/heads/master
c: b208306
h: refs/heads/master
v: v3
  • Loading branch information
Linus Walleij committed Jan 11, 2013
1 parent d128fce commit 6003eb5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e32af889458837d11a1ec5ec98934a1e711b049d
refs/heads/master: b2083062a3b4035e85349120b426ecef2b6d155f
5 changes: 5 additions & 0 deletions trunk/drivers/pinctrl/devicetree.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@ static int dt_to_map_one_config(struct pinctrl *p, const char *statename,
pctldev = find_pinctrl_by_of_node(np_pctldev);
if (pctldev)
break;
/* Do not defer probing of hogs (circular loop) */
if (np_pctldev == p->dev->of_node) {
of_node_put(np_pctldev);
return -ENODEV;
}
}
of_node_put(np_pctldev);

Expand Down

0 comments on commit 6003eb5

Please sign in to comment.