Re: [PATCH 1/3] pinctrl: sx150x: access the correct bits in the 4-bit regs of sx150[147]

From: Linus Walleij
Date: Fri Dec 02 2016 - 08:00:29 EST


On Fri, Dec 2, 2016 at 11:51 AM, Peter Rosin <peda@xxxxxxxxxx> wrote:

> The code assumes 8-bit or 16-bit width registers, but three of the
> chips (sx1501/sx1504/sx1507) are 4-bit. So, try to handle 4-bit chips as
> well, they leave the high part of each register unused.
>
> Signed-off-by: Peter Rosin <peda@xxxxxxxxxx>

Patch applied.

Yours,
Linus Walleij