commit | 3102a76cfbf9ac4ae0cf54c7452f7ba4292a4760 | [log] [tgz] |
---|---|---|
author | Richard Genoud <richard.genoud@gmail.com> | Mon Mar 25 15:47:22 2013 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Mar 27 23:17:12 2013 +0100 |
tree | c7ae2486f3c0cd31476546993906de4f9b199315 | |
parent | d3cee8305b48316ea416a73c763be3cb04bbc82b [diff] |
pinctrl: disable and free setting in select_state in case of error If enabling a pin fails in pinctrl_select_state_locked(), all the previous enabled pins have to be disabled to get back to the previous state. Signed-off-by: Richard Genoud <richard.genoud@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>