pinctrl: qcom: fix masking of pinmux functions
authorJohn Crispin <john@phrozen.org>
Mon, 12 Sep 2016 09:36:55 +0000 (11:36 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 3 Oct 2016 22:36:20 +0000 (00:36 +0200)
commit6bcf3f63394b9c4f133e4499349d786d7f531473
tree63c17ec564f399d87722ba8c3cf05e6ce7f2bd74
parent8d0a0ac0abcdba5b5d52726055c95f1f6234e85e
pinctrl: qcom: fix masking of pinmux functions

The following commit introduced a regression by not properly masking the
calculated value.

Fixes: 47a01ee9a6c3 ("pinctrl: qcom: Clear all function selection bits")
Signed-off-by: John Crispin <john@phrozen.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Stephen Boyd <stephen.boyd@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-msm.c