Re: [PATCH v4 3/4] pinctrl: rockchip: split out verification of mux settings

From: Linus Walleij
Date: Tue Mar 28 2017 - 05:19:00 EST


On Thu, Mar 23, 2017 at 11:59 AM, John Keeping <john@xxxxxxxxxxxx> wrote:

> We need to avoid calling regmap functions from irq handlers, so the next
> commit is going to move the call to rockchip_set_mux() into an
> irq_bus_sync_unlock handler. But we can't return an error from there so
> we still need to check the settings from rockchip_irq_set_type() and we
> will use this new rockchip_verify_mux() function from there.
>
> Signed-off-by: John Keeping <john@xxxxxxxxxxxx>
> Reviewed-by: Heiko Stuebner <heiko@xxxxxxxxx>
> Tested-by: Heiko Stuebner <heiko@xxxxxxxxx>
> ---
> v3: unchanged
> v2: unchanged

Patch applied.

Yours,
Linus Walleij