Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287069
b: refs/heads/master
c: 9e2551e
h: refs/heads/master
i:
  287067: c84a775
v: v3
  • Loading branch information
Tony Lindgren authored and Linus Walleij committed Jan 26, 2012
1 parent cb1117d commit aa0f60d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: de849eecd0addaa6bf60f2f7be36b30abf9ff2ae
refs/heads/master: 9e2551e10b5c7ba550849bd9ed519e498cc30e68
9 changes: 6 additions & 3 deletions trunk/drivers/pinctrl/pinmux.c
Original file line number Diff line number Diff line change
Expand Up @@ -978,9 +978,12 @@ int pinmux_hog_maps(struct pinctrl_dev *pctldev)
for (i = 0; i < pinmux_maps_num; i++) {
struct pinmux_map const *map = &pinmux_maps[i];

if (((map->ctrl_dev == dev) ||
!strcmp(map->ctrl_dev_name, devname)) &&
map->hog_on_boot) {
if (!map->hog_on_boot)
continue;

if ((map->ctrl_dev == dev) ||
(map->ctrl_dev_name &&
!strcmp(map->ctrl_dev_name, devname))) {
/* OK time to hog! */
ret = pinmux_hog_map(pctldev, map);
if (ret)
Expand Down

0 comments on commit aa0f60d

Please sign in to comment.