[PATCH 1/2] pinctrl: qcom: Clear all function selection bits
From: Linus Walleij <hidden>
Date: 2016-06-29 08:14:30
Also in:
linux-arm-msm, linux-gpio, lkml
From: Linus Walleij <hidden>
Date: 2016-06-29 08:14:30
Also in:
linux-arm-msm, linux-gpio, lkml
On Sun, Jun 26, 2016 at 7:21 AM, Stephen Boyd [off-list ref] wrote:
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 <redacted> Signed-off-by: Stephen Boyd <redacted>
Patch applied. Yours, Linus Walleij