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

Junjie Cao <[email protected]>
Newsgroups gmane.linux.kernel.gpio,gmane.linux.kernel,gmane.linux.kernel.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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.