commit | 175ca83c0b6ab3c2af2d9e1ffff4d274910bbc10 | [log] [tgz] |
---|---|---|
author | Richard Genoud <richard.genoud@gmail.com> | Thu Mar 28 12:55:48 2013 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Apr 03 14:27:31 2013 +0200 |
tree | 07ad5520a6fc6104d29ebe16eca4d06cdd5fd324 | |
parent | 8009d5ff00df6ad595f2d389f2e32bd4b97aebf5 [diff] |
pinctrl: pinctrl_select_state: set the old_state back on error In unapply_new_state, the old state is re-applied, but p->state is not set back as it should. Signed-off-by: Richard Genoud <richard.genoud@gmail.com> Reviewed-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>