pinctrl: single: fix pcs_disable with bits_per_mux
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 9 Jan 2014 12:50:28 +0000 (14:50 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 15 Jan 2014 07:30:08 +0000 (08:30 +0100)
commitdd4c2b3cb39da587fc1e5a9315d4d894a83ec481
treeb9871c2d0118b249f3b47236edc6ab3f91d30142
parent2bce695435bb81efa61c8c86715d26d1e2e7c211
pinctrl: single: fix pcs_disable with bits_per_mux

pcs_enable() uses vals->mask instead of pcs->fmask when bits_per_mux is
enabled. However, pcs_disable() always uses pcs->fmask.

Fix pcs_disable() to use vals->mask with bits_per_mux.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-single.c