commit | 50cf7c8ab324de348990bb028ad9ed10872d527a | [log] [tgz] |
---|---|---|
author | Richard Genoud <richard.genoud@gmail.com> | Mon Mar 25 15:47:23 2013 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Mar 27 23:18:28 2013 +0100 |
tree | 86754978ef05885b409dd28d1eafc6da1ae25151 | |
parent | 3102a76cfbf9ac4ae0cf54c7452f7ba4292a4760 [diff] |
pinctrl: re-enable old state in case of error in pinctrl_select_state If a new state is applied, the groups configured in the old state but not in the new state are disabled. If something goes wrong and the new state can't be applied, we have to re-enable those groups. Signed-off-by: Richard Genoud <richard.genoud@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>