diff options
author | Richard Genoud <richard.genoud@gmail.com> | 2013-03-25 15:47:23 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-03-27 23:18:28 +0100 |
commit | 50cf7c8ab324de348990bb028ad9ed10872d527a (patch) | |
tree | 86754978ef05885b409dd28d1eafc6da1ae25151 /drivers/pinctrl/mvebu/pinctrl-mvebu.c | |
parent | pinctrl: disable and free setting in select_state in case of error (diff) | |
download | linux-50cf7c8ab324de348990bb028ad9ed10872d527a.tar.xz linux-50cf7c8ab324de348990bb028ad9ed10872d527a.zip |
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>
Diffstat (limited to 'drivers/pinctrl/mvebu/pinctrl-mvebu.c')
0 files changed, 0 insertions, 0 deletions