diff options
author | Stephen Boyd <stephen.boyd@linaro.org> | 2016-06-26 08:21:31 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-06-29 11:13:44 +0300 |
commit | 47a01ee9a6c39fe1f5b14f5d88f6591baeb03e95 (patch) | |
tree | 3bf755410b9a02b7f760359b1061d9afaa0a7128 /drivers/pinctrl/core.c | |
parent | cdd5b3485cd59cb7d9004874d2ac99522da5e624 (diff) | |
download | linux-47a01ee9a6c39fe1f5b14f5d88f6591baeb03e95.tar.xz |
pinctrl: qcom: Clear all function selection bits
The function selection bitfield is not always 3 bits wide.
Sometimes it is 4 bits wide. Let's use the npins struct member to
determine how many bits wide the function selection bitfield is
so we clear the correct amount of bits in the register while
remuxing the pins.
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/core.c')
0 files changed, 0 insertions, 0 deletions