Re: [PATCH] pinctrl: reserve pins when states are activated

2012-10-22 Thread Stephen Warren
On 10/22/2012 02:15 AM, Linus Walleij wrote: > This switches the way that pins are reserved for multiplexing: > > We used to do this when the map was parsed, at the creation of > the settings inside the pinctrl handle, in pinmux_map_to_setting(). > > However this does not work for us, because we

[PATCH] pinctrl: reserve pins when states are activated

2012-10-22 Thread Linus Walleij
From: Linus Walleij This switches the way that pins are reserved for multiplexing: We used to do this when the map was parsed, at the creation of the settings inside the pinctrl handle, in pinmux_map_to_setting(). However this does not work for us, because we want to use the same set of pins

[PATCH] pinctrl: reserve pins when states are activated

2012-10-22 Thread Linus Walleij
From: Linus Walleij linus.wall...@linaro.org This switches the way that pins are reserved for multiplexing: We used to do this when the map was parsed, at the creation of the settings inside the pinctrl handle, in pinmux_map_to_setting(). However this does not work for us, because we want to

Re: [PATCH] pinctrl: reserve pins when states are activated

2012-10-22 Thread Stephen Warren
On 10/22/2012 02:15 AM, Linus Walleij wrote: This switches the way that pins are reserved for multiplexing: We used to do this when the map was parsed, at the creation of the settings inside the pinctrl handle, in pinmux_map_to_setting(). However this does not work for us, because we want

Re: [PATCH] pinctrl: reserve pins when states are activated

2012-10-19 Thread Linus Walleij
On Fri, Oct 19, 2012 at 1:33 AM, Stephen Warren wrote: > On 10/18/2012 04:01 AM, Linus Walleij wrote: >> This switches the way that pins are reserved for multiplexing: > > The conceptual change makes perfect sense to me. Thanks... >> diff --git a/drivers/pinctrl/pinmux.c

Re: [PATCH] pinctrl: reserve pins when states are activated

2012-10-19 Thread Linus Walleij
On Fri, Oct 19, 2012 at 1:33 AM, Stephen Warren swar...@wwwdotorg.org wrote: On 10/18/2012 04:01 AM, Linus Walleij wrote: This switches the way that pins are reserved for multiplexing: The conceptual change makes perfect sense to me. Thanks... diff --git a/drivers/pinctrl/pinmux.c

Re: [PATCH] pinctrl: reserve pins when states are activated

2012-10-18 Thread Stephen Warren
On 10/18/2012 04:01 AM, Linus Walleij wrote: > This switches the way that pins are reserved for multiplexing: The conceptual change makes perfect sense to me. > diff --git a/drivers/pinctrl/pinmux.c b/drivers/pinctrl/pinmux.c > void pinmux_free_setting(struct pinctrl_setting const *setting)

[PATCH] pinctrl: reserve pins when states are activated

2012-10-18 Thread Linus Walleij
From: Linus Walleij This switches the way that pins are reserved for multiplexing: We used to do this when the map was parsed, at the creation of the settings inside the pinctrl handle, in pinmux_map_to_setting(). However this does not work for us, because we want to use the same set of pins

[PATCH] pinctrl: reserve pins when states are activated

2012-10-18 Thread Linus Walleij
From: Linus Walleij linus.wall...@linaro.org This switches the way that pins are reserved for multiplexing: We used to do this when the map was parsed, at the creation of the settings inside the pinctrl handle, in pinmux_map_to_setting(). However this does not work for us, because we want to

Re: [PATCH] pinctrl: reserve pins when states are activated

2012-10-18 Thread Stephen Warren
On 10/18/2012 04:01 AM, Linus Walleij wrote: This switches the way that pins are reserved for multiplexing: The conceptual change makes perfect sense to me. diff --git a/drivers/pinctrl/pinmux.c b/drivers/pinctrl/pinmux.c void pinmux_free_setting(struct pinctrl_setting const *setting) ...