Re: [PATCH 1/2] pinctrl: qcom: Clear all function selection bits

From: Linus Walleij
Date: Wed Jun 29 2016 - 04:14:34 EST


On Sun, Jun 26, 2016 at 7:21 AM, Stephen Boyd <stephen.boyd@xxxxxxxxxx> 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 <bjorn.andersson@xxxxxxxxxx>
> Signed-off-by: Stephen Boyd <stephen.boyd@xxxxxxxxxx>

Patch applied.

Yours,
Linus Walleij