Re: [PATCH v2] ARM: dts: sun8i: Adjust power key nodes

Guenter Roeck
2022-02-16T04:26:21Z

On Tue, Feb 15, 2022 at 10:11:36PM -0600, Samuel Holland wrote:
[ ... ]
>
> I don't think there is any real issue here. The two irq_desc's being locked are
> always different, so there is no deadlock. This recursive irq_set_irq_wake seems
> to be a reasonably common pattern in GPIO drivers, and several of them contain
> code to silence lockdep. I've sent a patch adding a copy of that to the sunxi
> driver:
>
> https://lore.kernel.org/lkml/20220216040037.22730-1-samuel@sholland.org/
>
> Please see if it works for you.
>
Yes, it does. The warning is gone with your patch applied on top of linux-next.

Thanks,
Guenter