Thread (13 messages) 13 messages, 2 authors, 2026-01-26

Re: [PATCH 3/3] gpio: brcmstb: allow parent_irq to wake

From: Andy Shevchenko <hidden>
Date: 2026-01-26 16:27:36
Also in: linux-gpio, lkml

On Thu, Jan 22, 2026 at 9:24 PM Florian Fainelli
[off-list ref] wrote:
On 1/21/2026 11:42 PM, Andy Shevchenko wrote:
quoted
On Thu, Jan 22, 2026 at 3:06 AM Florian Fainelli
[off-list ref] wrote:
...
quoted
quoted
+               if (priv->suspended && bank->wake_active & (u32)status) {
Why casting?
status is an unsigned long, which is what for_each_set_bit() expects, so
it is intended here to ensure the top bits are not participating in the
comparison, I think this is just being extra explicit with intent here.
Isn't that guaranteed by the C standard?
quoted
quoted
+                       priv->suspended = false;
+                       pm_wakeup_event(&priv->pdev->dev, 0);
+               }

-- 
With Best Regards,
Andy Shevchenko
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help