[PATCH] pinctrl: add lock in mtk_rmw function.

Linus Walleij linus.walleij at linaro.org
Thu Mar 25 09:15:18 GMT 2021


On Sun, Mar 21, 2021 at 4:32 AM Zhiyong Tao <zhiyong.tao at mediatek.com> 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 at mediatek.com>

Patch applied!

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list