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

From: Heiko Stuebner
Date: Wed Mar 15 2017 - 12:34:43 EST


Am Montag, 13. März 2017, 18:38:12 CET schrieb John Keeping:
> 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>

straightforward separation of the verification code
Reviewed-by: Heiko Stuebner <heiko@xxxxxxxxx>