Re: [PATCH] gpio: pca953x: restore cache_only state on resume failure

Bartosz Golaszewski <[email protected]>
Newsgroups org.kernel.vger.linux-gpio,org.kernel.vger.linux-kernel
Message-ID <CAMRc=Mfp=8X55HcCW+SGAOQc1pdf_Uh+9uyOD7JYMZB_a+K4iQ@mail.gmail.com>
On Fri, 24 Jul 2026 10:18:38 +0200, [email protected] said:
> From: bui duc phuc <[email protected]>
>
> When pca953x_restore_context() fails, cache_only is left disabled and
> the IRQ left enabled, even though register synchronization may not have
> completed successfully. Restore cache_only and disable the IRQ again on
> failure, matching the state set by pca953x_save_context().
>
> Signed-off-by: bui duc phuc <[email protected]>
> ---

Fixes: and Cc: stable?

Bart
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.