Re: [PATCH] gpio: ml-ioh: use raw_spinlock_t for the register lock

Junjie Cao <[email protected]> Tue, 4 Aug 2026 17:33:53 +0800
Newsgroups dev.linux.lists.linux-rt-devel,org.kernel.vger.linux-gpio,org.kernel.vger.linux-kernel,org.kernel.vger.stable
Message-ID <[email protected]>
Hi Linus,

Thanks for the review.

I checked it, and the report is correct. The PM callbacks take
chip[0].spinlock while the save and restore helpers walk all eight
channels, each with its own lock.

I have a follow-up that uses one lock shared by all channels. I'll send
it separately on top of this patch.

Thanks,
Junjie