[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdaO8YEBo53uUuUpegjFTwaZbtWtbKTUynAX_55p89Dfvg@mail.gmail.com>
Date: Thu, 25 Mar 2021 10:15:18 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Zhiyong Tao <zhiyong.tao@...iatek.com>
Cc: Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Matthias Brugger <matthias.bgg@...il.com>,
Sean Wang <sean.wang@...nel.org>, srv_heupstream@...iatek.com,
hui.liu@...iatek.com, huang eddie <eddie.huang@...iatek.com>,
jg_poxu@...iatek.com, Biao Huang <biao.huang@...iatek.com>,
Hongzhou Yang <hongzhou.yang@...iatek.com>,
Erin Lo <erin.lo@...iatek.com>,
Sean Wang <sean.wang@...iatek.com>, seiya.wang@...iatek.com,
sj.huang@...iatek.com,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Linux ARM <linux-arm-kernel@...ts.infradead.org>,
"moderated list:ARM/Mediatek SoC support"
<linux-mediatek@...ts.infradead.org>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>
Subject: Re: [PATCH] pinctrl: add lock in mtk_rmw function.
On Sun, Mar 21, 2021 at 4:32 AM Zhiyong Tao <zhiyong.tao@...iatek.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@...iatek.com>
Patch applied!
Yours,
Linus Walleij
Powered by blists - more mailing lists