Re: [PATCH] pinctrl: add lock in mtk_rmw function.

From: Linus Walleij
Date: Thu Mar 25 2021 - 05:16:15 EST


On Sun, Mar 21, 2021 at 4:32 AM Zhiyong Tao <zhiyong.tao@xxxxxxxxxxxx> wrote:

> When multiple threads operate on the same register resource
> which include multiple pin, It will make the register resource
> wrong to control. So we add lock to avoid the case.
>
> Signed-off-by: Zhiyong Tao <zhiyong.tao@xxxxxxxxxxxx>

Patch applied!

Yours,
Linus Walleij