Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 362999
b: refs/heads/master
c: af60617
h: refs/heads/master
i:
  362997: 8693693
  362995: 9fd7aa1
  362991: 66b334b
v: v3
  • Loading branch information
Richard Genoud authored and Linus Walleij committed Apr 3, 2013
1 parent 9070a0d commit 0357793
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 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: 28d0c14b43a04deac8afe27ab700cc7638a7f4ba
refs/heads/master: af6061777131639d7d2687ce542b6052a6510c25
10 changes: 9 additions & 1 deletion trunk/drivers/pinctrl/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -970,7 +970,15 @@ static int pinctrl_select_state_locked(struct pinctrl *p,
list_for_each_entry(setting2, &state->settings, node) {
if (&setting2->node == &setting->node)
break;
pinctrl_free_setting(true, setting2);
/*
* All we can do here is pinmux_disable_setting.
* That means that some pins are muxed differently now
* than they were before applying the setting (We can't
* "unmux a pin"!), but it's not a big deal since the pins
* are free to be muxed by another apply_setting.
*/
if (setting2->type == PIN_MAP_TYPE_MUX_GROUP)
pinmux_disable_setting(setting2);
}

if (old_state) {
Expand Down

0 comments on commit 0357793

Please sign in to comment.