[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75VehqcXLhSc64msaq1Z5JYTWNtGFEqjO6rRTam4ypgZLCw@mail.gmail.com>
Date: Mon, 25 Dec 2023 21:52:26 +0200
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Cc: Tzuyi Chang <tychang@...ltek.com>, Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <brgl@...ev.pl>, Andy Shevchenko <andy@...nel.org>, Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>, Conor Dooley <conor+dt@...nel.org>,
linux-gpio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4 2/2] Add GPIO support for Realtek DHC(Digital Home
Center) RTD SoCs.
On Sat, Dec 23, 2023 at 4:19 PM Krzysztof Kozlowski
<krzysztof.kozlowski@...aro.org> wrote:
> On 22/12/2023 08:58, Tzuyi Chang wrote:
...
> > + raw_spin_lock_irqsave(&data->lock, flags);
>
> Why are you using raw spinlock? This question applies to entire driver.
If you want to have your IRQ chip to work in the RT kernel, you need a
real spinlock.
> > + raw_spin_unlock_irqrestore(&data->lock, flags);
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists