Re: [PATCH] gpio: ml-ioh: share the register lock across channels
Linus Walleij <[email protected]>
| Newsgroups | org.kernel.vger.linux-gpio,dev.linux.lists.sashiko-reviews,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <CAD++jLnrXp0ACwyR7kenvJxLegyn+Owa2WvadXe=0e1ZDG_yYg@mail.gmail.com> |
On Tue, Aug 4, 2026 at 12:00 PM Junjie Cao <[email protected]> wrote: > Suspend and resume hold channel 0's lock while saving and restoring > registers for all eight channels. Code paths using the other seven locks > can therefore run concurrently with PM. > > Use one controller-wide lock shared by all channels. > > Fixes: b490fa0bf86e ("gpio-ml-ioh: Fix suspend/resume issue") > Reported-by: sashiko-bot <[email protected]> > Link: https://lore.kernel.org/r/[email protected] > Signed-off-by: Junjie Cao <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Yours, Linus Walleij