pinctrl: SPEAr: Don't update all non muxreg bits on pinctrl_disable
authorViresh Kumar <viresh.kumar@linaro.org>
Sat, 27 Oct 2012 09:17:46 +0000 (14:47 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 5 Nov 2012 11:33:34 +0000 (12:33 +0100)
commit0b53fa35355725b5130b8e73309995c4d4b4868b
tree0b80b5b1dfadb25498b200fc688e3e8ec29f86dc
parent8f0d8163b50e01f398b14bcd4dc039ac5ab18d64
pinctrl: SPEAr: Don't update all non muxreg bits on pinctrl_disable

Not all bits of a register are used for pinctrl in SPEAr. So only update bits
relevant to pinctrl using muxreg->mask.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/spear/pinctrl-spear.c