[PATCH v4 1/4] pinctrl: rockchip: remove unnecessary locking

Linus Walleij linus.walleij at linaro.org
Tue Mar 28 02:16:49 PDT 2017


On Thu, Mar 23, 2017 at 11:59 AM, John Keeping <john at metanate.com> wrote:

> regmap_update_bits does its own locking and everything else accessed
> here is a local variable so there is no need to lock around it.
>
> Signed-off-by: John Keeping <john at metanate.com>
> Reviewed-by: Heiko Stuebner <heiko at sntech.de>
> Tested-by: Heiko Stuebner <heiko at sntech.de>
> ---
> v3: unchanged
> v2.1:
> - Remove RK2928 locking in rockchip_set_pull()
> v2:
> - Also remove locking in rockchip_set_schmitt()

Patch applied.

Yours,
Linus Walleij



More information about the Linux-rockchip mailing list