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