Re: [PATCH 2/6] pinctrl: uniphier: fix pin_config_get() for input-enable

From: Linus Walleij
Date: Tue Aug 01 2017 - 04:11:48 EST


On Mon, Jul 31, 2017 at 8:21 AM, Masahiro Yamada
<yamada.masahiro@xxxxxxxxxxxxx> wrote:

> For LD11/LD20 SoCs (capable of per-pin input enable), iectrl bits are
> located across multiple registers. So, the register offset must be
> taken into account. Otherwise, wrong input-enable status is displayed.
>
> While we here, rename the macro because it is a base address.
>
> Fixes: aa543888ca8c ("pinctrl: uniphier: support per-pin input enable for new SoCs")
> Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>

Patch applied.

Yours,
Linus Walleij