]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
pinctrl: st: activate strict mux mode
authorPatrice Chotard <patrice.chotard@st.com>
Mon, 18 Jan 2016 15:38:31 +0000 (16:38 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 27 Jan 2016 10:02:53 +0000 (11:02 +0100)
This activates strict mode muxing for the ST pin controllers,
as these do not allow GPIO and functions to use the same pin
simultaneously.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-st.c

index fac844a85cb46b14a48a5c6d973a2a57ea630e4e..cab66c64149fc103aedad05784e46a35e95fccd1 100644 (file)
@@ -985,6 +985,7 @@ static struct pinmux_ops st_pmxops = {
        .get_function_groups    = st_pmx_get_groups,
        .set_mux                = st_pmx_set_mux,
        .gpio_set_direction     = st_pmx_set_gpio_direction,
+       .strict                 = true,
 };
 
 /* Pinconf  */