Re: [PATCH 4/4] pinctrl: re-enable old state in case of error in pinctrl_select_state

From: Linus Walleij
Date: Wed Mar 27 2013 - 18:18:56 EST


On Mon, Mar 25, 2013 at 3:47 PM, Richard Genoud
<richard.genoud@xxxxxxxxx> wrote:

> 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@xxxxxxxxx>

Another very tasty patch, applied!

Thanks!
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/