summaryrefslogtreecommitdiff
path: root/drivers/rapidio/rio-scan.c
diff options
context:
space:
mode:
authorStephen Boyd <stephen.boyd@linaro.org>2016-06-26 08:21:31 +0300
committerLinus Walleij <linus.walleij@linaro.org>2016-06-29 11:13:44 +0300
commit47a01ee9a6c39fe1f5b14f5d88f6591baeb03e95 (patch)
tree3bf755410b9a02b7f760359b1061d9afaa0a7128 /drivers/rapidio/rio-scan.c
parentcdd5b3485cd59cb7d9004874d2ac99522da5e624 (diff)
downloadlinux-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/rapidio/rio-scan.c')
0 files changed, 0 insertions, 0 deletions