Re: [PATCH v2] gpio: pca953x: fix cache_only and IRQ state on restore_context() failure

Bartosz Golaszewski <[email protected]> Mon, 27 Jul 2026 14:58:37 +0200
Newsgroups org.kernel.vger.linux-gpio,org.kernel.vger.linux-kernel,org.kernel.vger.stable
Message-ID <[email protected]>
On Mon, 27 Jul 2026 15:02:05 +0700, [email protected] wrote:
> 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().
> 
> 

Applied, thanks!

[1/1] gpio: pca953x: fix cache_only and IRQ state on restore_context() failure
      https://git.kernel.org/brgl/c/c7e781391bbf42ad6fbfda1caa66cf8a5a2aa7bc

Best regards,
-- 
Bartosz Golaszewski <[email protected]>