Re: [PATCH] pinctrl: qcom: spmi-gpio: don't cache new config until we know it's applied
From: Bartosz Golaszewski
Date: Fri Nov 20 2026 - 07:41:08 EST
On Tue, 10 Nov 2026 16:14:19 +0100, Bartosz Golaszewski wrote:
> pmic_gpio_config_set() modifies the in-memory settings cache before
> performing any register writes. If any of the calls to pmic_gpio_write()
> fails, the modifications are never reverted and the real state diverges
> from what linux stores in memory.
>
> Work on a local copy of the relevant pad and only modify the cache after
> all writes succeeded.
>
> [...]
Applied, thanks!
[1/1] pinctrl: qcom: spmi-gpio: don't cache new config until we know it's applied
https://git.kernel.org/brgl/c/21d7ff7d6531b3420727539f04470ddae499592b
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>